[wp-testers] Admin head plugin hook

DD32 wordpress at dd32.id.au
Thu Mar 6 10:10:16 GMT 2008


The dashboard css is loaded on admin_head too, If you want to have specific rules loaded after all others, set the priority to late, ie:

add_action('admin_head', 'my_function', 0, 100);

On Thu, 06 Mar 2008 21:01:42 +1100, Dean Robinson <dean.j.robinson at gmail.com> wrote:

> Hi all,
>
> While working on my new admin theme/plugin I noticed that when I use
> the 'admin_head' action, on just about every admin screen it adds it
> as the last thing inside the <head>, except for on the dashboard,
> where the dashboard.css is actually added after it. Not a big issue, I
> just used some more specific styles to get around it but wondering if
> this is done for any particular reason.
>
> Dean Robinson
>
> deanjrobinson.com
> dean.j.robinson at gmail.com
> --------------------------------------
> twitter.com/deanjrobinson
> hahlo.com
> twitter.com/hahlo
>
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
> 





More information about the wp-testers mailing list