problem with $wp_roles->add_cap
I’m writing a little plugin that create new type of users “moderator” that have to have permissions to create and edit posts and JUST EDIT PAGES without possibility of CREATE PAGES.
If I unterstood everything right, something like this
have to permit edit pages without permitting create pages. But it doesn’t work and menu item “Edit”=>”Pages” not appear.
What should I do?
- The topic ‘problem with $wp_roles->add_cap’ is closed to new replies.