1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02:00

adding hooks to include the styles and scripts for the dashboard

This commit is contained in:
Tom McFarlin 2014-05-01 23:42:46 -04:00
parent 92e4693a8f
commit 40fd22a297

View file

@ -45,6 +45,9 @@ class Plugin_Name_Admin_Loader {
* add_filter( 'the_content', array( $plugin_name_admin, 'update_the_content' ) ); * add_filter( 'the_content', array( $plugin_name_admin, 'update_the_content' ) );
*/ */
add_action( 'admin_enqueue_scripts', array( $plugin_name_admin, 'enqueue_styles' ) );
add_action( 'admin_enqueue_scripts', array( $plugin_name_admin, 'enqueue_scripts' ) );
} }
} }