Support » Plugin: Dokan Menu Hider » add this function to completely remove the menu

  • 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 2 months, 1 week ago by Gui8515.
  • You must be logged in to reply to this review.