[wp-trac] [WordPress Trac] #21727: add a new action for scripts and style files in the footer

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 29 14:27:47 UTC 2012


#21727: add a new action for scripts and style files in the footer
-------------------------+-----------------------------
 Reporter:  alexvorn2    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Formatting   |    Version:
 Severity:  normal       |   Keywords:  needs-patch
-------------------------+-----------------------------
 add_action('admin_print_scripts-' . $page, 'my_plugin_admin_scripts');

 This action adds a custom script file to the header only, introduce a new
 action for the footer too.

 http://codex.wordpress.org/Function_Reference/wp_enqueue_script

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21727>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list