Definition:
function is_blog_admin() {}
Whether the current request is for a blog admin screen /wp-admin/
Does not inform on whether the user is a blog admin! Use capability checks to tell if the user should be accessing a section or not.
Return values
returns:True if inside WordPress network administration pages.
Source code
function is_blog_admin() { if ( defined( 'WP_BLOG_ADMIN' ) ) return WP_BLOG_ADMIN; return false; }
9865
No comments yet... Be the first to leave a reply!