• Resolved merosler

    (@merosler)


    Hello,

    In the user role editor within wordpress, what is the slug in the user role editor for the post snippets plugin that would allow me to grant permission to a specific role (i.e. “Editor”)

    thank you,

    Matt

    • This topic was modified 1 year, 6 months ago by merosler.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @merosler,

    Thanks for contacting us,

    I hope you are doing well, We have forwarded this to our technical team and we will get back to you soon.

    Thanks & Regards

    WP Experts Support Team

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @merosler,

    The Post Snippet will be accessible for Editor’s Role. Please add this code to the functions.php file.

    $user = wp_get_current_user();
    $role = 'editor';
    if ( in_array( $role , (array) $user->roles ) ) {
    
        define('POST_SNIPPETS_ALLOW_EDIT_POSTS', true);
    }

    Thank you

    Thread Starter merosler

    (@merosler)

    I’m not really technical like that. Any chance this can be incorporated into the next version of the plugin that I can then update?

    thank you,
    Matt

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @merosler,

    To escalate your case, please create a ticket on our official website so that we can connect you directly with our Technical team.

    Looking forward to getting your issue resolved.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘slug in user role editor?’ is closed to new replies.