• Resolved jDelforge

    (@jodelicious)


    Hello !

    I’m trying to let the editor user role to have access to all CRM entries.
    I have managed to show the plugin page, but not the entries.

    Here is what i have for now.

    function crm_entries_add_access_to_editor() {
    
         $role = get_role( 'editor' );
         $role->add_cap( 'vx_crmperks_view_plugins', true );
    
    }
    add_action('init','crm_entries_add_access_to_editor', 11);
    

    Thank you!

    • This topic was modified 4 years, 5 months ago by jDelforge.
    • This topic was modified 4 years, 5 months ago by jDelforge.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not showing for Editors’ is closed to new replies.