This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Omphaloskepsis/plugins/jetpack/_inc/genericons.php

14 lines
460 B
PHP
Raw Permalink Normal View History

2018-03-21 18:19:20 +00:00
<?php
/**
* Globally registers the 'genericons' style and font.
*
* This ensures any theme or plugin using it is on the latest version of Genericons, and helps to avoid conflicts.
*/
add_action( 'init', 'jetpack_register_genericons', 1 );
function jetpack_register_genericons() {
if ( ! wp_style_is( 'genericons', 'registered' ) ) {
wp_register_style( 'genericons', plugins_url( 'genericons/genericons/genericons.css', __FILE__ ), false, '3.1' );
}
}