Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

serviceweb on "Add new user role and edit page"

$
0
0

Hello i've create a new user role and i add capibilities to read, end edit page and read, create end edit custom post type.

I have a probleme becouse the user can't edit the page but can only read. Why? Where wrong?

/* aggiungi ruolo */

add_role('brokers', 'Brokers', array(
'read' => true, // True allows that capability
'edit_pages' => true,

));

Viewing all articles
Browse latest Browse all 8245

Trending Articles