[wp-testers] Admin head plugin hook

Dean Robinson dean.j.robinson at gmail.com
Thu Mar 6 10:14:46 GMT 2008


Yeah, ok, now I feel a little bit silly since I actually remember  
reading that in the codex. That should solve the problem completely.

Thanks.


Dean Robinson

deanjrobinson.com
dean.j.robinson at gmail.com
--------------------------------------
twitter.com/deanjrobinson
hahlo.com
twitter.com/hahlo



On 06/03/2008, at 9:10 PM, DD32 wrote:

> 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
>>
>
>
>
> _______________________________________________
> 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