How to use JC Submenu when your theme uses a custom menu walker

JC Submenu allows you to disable its custom menu walker making it compatible with themes which uses there own menu walkers.

To enable compatability with other menu walkers add the following code into your themes functions.php file.

// enable compatibility with theme custom menu walkers
add_filter('jcs/enable_public_walker', 'jc_disable_public_walker');
function jc_disable_public_walker($default){
    return false;