List all private pages user has access rights to read
I have made the following code for you to copy and paste in to your functions.php file. I’m sure there is a simpler solution, however this is the working solution I came up with. The first part of the section adds the new roles. function anakeme_custom_roles() { add_role( ‘level_1’, ‘Level 1’, [ ‘read_private_pages’ => true, … Read more