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:
parent
92e4693a8f
commit
40fd22a297
1 changed files with 3 additions and 0 deletions
|
@ -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' ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue