How to remove Import Export menu in Client Frontend Dashboard
Copy and paste this code in you functions.php file in you active theme.
add_filter('wpcfe_after_sidebar_menus', 'wpcfe_after_sidebar_menus_callback', 20 ); function wpcfe_after_sidebar_menus_callback( $menu_array ){ /* * $menu_array['wpcie-menu'] - Is the Import Export menu */ $current_user = wp_get_current_user(); if( in_array( 'wpcargo_client' , $current_user->roles ) ){ unset($menu_array['wpcie-menu']); } return $menu_array; }