Role capabilities issue
I solved the issue! If you create a new CPT with the function register_post_type You have to add this line in the array with arguments ‘map_meta_cap’ => true, Now you can set capabilities to a role like below add_role(‘owner’, ‘Eigenaar’, array( ‘read’ => true, ‘publish_agendas’ => true, ‘edit_agenda’ => true, ‘edit_agendas’ => true, ‘delete_agenda’ => … Read more