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

14 lines
460 B
PHP
Raw Permalink Normal View History

2017-01-12 23:10:07 +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' );
}
}