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

    (@shinephp)

    There is special filter to manage this:

    add_filter('additional_capabilities_display', 'show_additional_capabilities', 10, 2);
    function show_additional_capabilities($show_add_caps, $profileuser) {
    
        if (current_user_can('administrator')) {
            return true;
        }
    
        return false;
    }

    Thread Starter Beta6484

    (@beta6484)

    Thank you!!! =D

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Additional Capabilities in The Profile Page’ is closed to new replies.