I’m trying to customize the default WordPress menus. Added this to my functions.php file and it makes my menus disappear. What is wrong?
function custom_novice_menu($args) {
$defaults = array(
'container' => 'div'
);
}
add_action('wp_nav_menu', 'custom_novice_menu');
Here is some documentation on wp_nav_menu()