Home Forums Plugin Support WP User Frontend Pro Plugin visible to editor

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sekander Badsha 4 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27302

    Ioannis
    Member
    Post count: 17

    Hello Guys, how is it possible to give also visibility of this plugin to the editor also. Because I don't want to give admin permissions to my client. thanks

    #27448

    Sekander Badsha
    Member
    Post count: 2067

    Add this codes to your themes (or child theme) functions.php
    [php]
    function dokan_ex_modify_admin_permission( $permission ) {
    return ‘edit_pages'; //editor
    }

    add_filter( ‘doakn_menu_capability', ‘dokan_ex_modify_admin_permission' );
    [/php]

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Plugin visible to editor’ is closed to new replies.