Changing who can access your client proofing collections

If you work in a team, it’s quite possible that more than one person has access to your website. By default, only administrators have access to picu proofing collections.

But chances are that the person who manages your client proofing are not also administrators to your website, and so you would like to change who’s got access to picu and the proofing galleries. Luckily, there’s an easy way to change this, using a filter.

WordPress provides some default user roles, each of which has their own capabilities, which you can find here in the WordPress Handbook.

As said, by default we restrict access to proofing collections to site administrators (or, everyone with the capability: “manage_options“). If you would like to change this to โ€“ let’s say โ€“ the editor user role (capability: “edit_posts“), you can do so like this:

function my_picu_custom_capability() {
    return 'edit_posts';
}
add_filter( 'picu_capability', 'my_picu_custom_capability' );Code language: JavaScript (javascript)

IMPORTANT: Make sure to add this code to a custom plugin, or by using the code snippets plugin, to make sure the changes don’t get overwritten by future theme updates.

Posted in:

Related Posts

These posts could interest you as well, read on to get the full picture.

  • Update โ€“ January 2026

    Here’s what we’ve been up to this past month. Collections List Block We released our very first custom block for picu. In the past, if you wanted to create a client area, you could use our (now legacy) shortcode to display a list of collections in the frontend. While this worked well in the past

    Read more

  • Introducing the Collections List Block

    Today we are happy to announce our very first custom block “picu Collections List”. Starting from picu 3.4.0 you will be able to use this block to display a list of collections anywhere on your site where blocks can be added, from pages and posts to templates in the site editor. So far, to build

    Read more