Snippets: Disable the Total Mobile Menu but still hide the default menu on small devices

If you are using a 3rd party plugin for your mobile menu, such as the SuperFly menu you can easily disable the Total mobile menu and toggle using the following code. This way the main menu will still hide on small screens but then you can use your custom menu for mobile.

add_filter( 'wpex_mobile_menu_style', 'disabled' );
add_filter( 'wpex_mobile_menu_toggle_style', '__return_null' );

// New in Total 5.1.1 - you can use this filter to completely remove the Total mobile menu and customizer settings.
add_filter( 'wpex_is_header_menu_custom', '__return_true' );
All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)