Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Limit Blog Creation to Admins


garynagel
Participant

@garynagel

I got thru the first part fine but when I add

global $current_user;

if ( isset( $roles[‘administrator’] ) || isset( $roles[‘editor’] ) || isset( $roles[‘contributor’] ) || is_site_admin() )

this gets ignored site admin still get the creat blog option however editors do not.

Im just trying to block contrib and subscibers from being able to create a new blog option

Skip to toolbar