• Resolved aljuk

    (@aljuk)


    My client has a user role of editor.

    They need access to the messages stored by cfdb7.

    How do I do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arshid

    (@arshidkv12)

    Install role editor plugin. Then give cfdb7_access capability to editor role.

    you don’t necessarily need the user role editor plugin. you can just grant the capability manually in your functions.php:

    function manipulate_editor_capabilities() {
    $editor_role = get_role('editor');
    if ($editor_role && !$editor_role->has_cap('cfdb7_access')) {
    $editor_role->add_cap('cfdb7_access');
    }
    }
    add_action('init', 'manipulate_editor_capabilities');
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.