include admin styles
This commit is contained in:
parent
41e00112b4
commit
8c60e7f42d
|
@ -19,8 +19,11 @@
|
|||
* @subpackage hangar-wp-plugin/includes
|
||||
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
|
||||
*/
|
||||
|
||||
function hangar_admin_styles() {
|
||||
if( ! function_exists('hangar_admin_styles') ){
|
||||
function hangar_admin_styles() {
|
||||
if ( is_admin() ) {
|
||||
add_editor_style( 'assets/css/hangar-wpplugin-admin-styles.css' );
|
||||
}
|
||||
add_action( 'admin_init', 'hangar_admin_styles' );
|
||||
}
|
||||
}
|
||||
add_action( 'admin_init', 'hangar_admin_styles' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue