Removed Roots_Nav_Walker as default for all menus
This commit is contained in:
committed by
Leonardo Giacone
parent
3f2c5a89a8
commit
d37c9a8604
@@ -86,10 +86,6 @@ function roots_nav_menu_args($args = '') {
|
||||
$roots_nav_menu_args['depth'] = 2;
|
||||
}
|
||||
|
||||
if (!$args['walker']) {
|
||||
$roots_nav_menu_args['walker'] = new Roots_Nav_Walker();
|
||||
}
|
||||
|
||||
return array_merge($args, $roots_nav_menu_args);
|
||||
}
|
||||
add_filter('wp_nav_menu_args', 'roots_nav_menu_args');
|
||||
|
||||
Reference in New Issue
Block a user