Hide Menu Items From Dashboard Nav
-
Hi All,
I trying to apply the code below but the menu still there .
add_filter( ‘dokan-dashboard-menu’, ‘dokan_remove_menu’ );
function dokan_remove_menu( $menus ) {
unset($menus[‘support’]);
unset($menus[‘followers’]);
return $menus;
}add_filter( ‘dokan_get_dashboard_settings_nav’, ‘remove_sub_tab’ );
function remove_sub_tab($settings_sub){
unset($settings_sub[‘shipstation’]);
return $settings_sub;}`
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hide Menu Items From Dashboard Nav’ is closed to new replies.