Support » Plugin: CRM Perks Forms - WordPress Form Builder » Not showing for Editors

  • 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 10 months ago by jDelforge.
    • This topic was modified 10 months ago by jDelforge.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.