[wp-hackers] Admin Action Prior to Headers

Robin Adrianse robin.adr at gmail.com
Sun Jun 24 15:22:54 GMT 2007


is_admin(), but take a note that this doesn't return true for wp-login.php,
as was intended.

On 6/24/07, Austin Matzko <if.website at gmail.com> wrote:
>
> On 6/23/07, Bill Smith <ml_wordpress at copperleaf.org> wrote:
> > If I have to do it with init or
> > plugins_loaded, is there a clean way to identify that it's an admin page
> > being loaded?
>
> How about checking the value of is_admin()?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list