mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Add action "admin_enqueue_scripts" to make it easy for plugins to queue JavaScript and CSS for specific admin pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@10364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7b2265e598
commit
45c7401c79
@ -50,6 +50,7 @@ else if ( isset($plugin_page) )
|
||||
else if ( isset($pagenow) )
|
||||
$hook_suffix = "$pagenow";
|
||||
|
||||
do_action('admin_enqueue_scripts', $hook_suffix);
|
||||
do_action("admin_print_styles-$hook_suffix");
|
||||
do_action('admin_print_styles');
|
||||
do_action("admin_print_scripts-$hook_suffix");
|
||||
|
Loading…
Reference in New Issue
Block a user