Viewing 1 replies (of 1 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    Please add following code in your theme’s ( child theme’s if any) functions.php

    add_filter( 'fep_menu_buttons', function( $menu ){
        if( in_array( 'subscriber', wp_get_current_user()->roles ) )
        unset( $menu['settings'] );
        return $menu;
    }, 99);
    

    This will remove “settings” for subscriber role users

Viewing 1 replies (of 1 total)
  • The topic ‘Remove settings from menu’ is closed to new replies.