• Gui8515

    (@gui8515)


    add_action( 'init', 'dokan_remove_dashboard_side_navigation_action');
    
    function dokan_remove_dashboard_side_navigation_action() {
    	remove_action( 'dokan_dashboard_content_before', array( 'WeDevs\Dokan\Dashboard\Templates\Main', 'dashboard_side_navigation' ) );
    }
    
    • This topic was modified 3 years ago by Gui8515.

The topic ‘add this function to completely remove the menu’ is closed to new replies.