[wp-hackers] Re: Plugin interference

Aaron D. Campbell aaron at xavisys.com
Fri Apr 11 15:27:30 GMT 2008


Since admin_print_scripts-$page_hook or admin_print_scripts-$plugin_page 
both fire before admin_print_scripts, couldn't you enqueue then?  Or is 
that too late for some reason?

Otto wrote:
> That's fine if you want to insert something into the header manually,
> but what if you want to use the right functions to actually enqueue a
> script instead? admin_head and admin_print_scripts are too late to add
> enqueue_script calls.
>
> Should one hang that off load-$page_hook instead?
>   
-- 
Aaron D. Campbell
Owner
Xavisys



More information about the wp-hackers mailing list