i've create a new user role and i want this user can edit page and use custom post type. For custom post type i've resolve but for the page not function.
On backend the user can only see the page but can't edit. Where wrong?
/* aggiungi ruolo */
add_role('brokers', 'Brokers', array(
'read' => true, // True allows that capability
'edit_pages' => true,
));