WordPress WordPress Theme Development Building Out WordPress Navigation The wp_nav_menu Function

Christos Grapsas
Christos Grapsas
4,088 Points

No need for the add_theme_support( 'menus' ) function.

According to the codex (https://codex.wordpress.org/Function_Reference/register_nav_menus), the register_nav_menus() function automatically registers custom menu support for the theme.