/**
* Register navigation menus uses wp_nav_menu in five places.
*/
function twentytwenty_menus() {
$locations = array(
'primary' => __( 'Desktop Horizontal Menu', 'twentytwenty' ),
'expanded' => __( 'Desktop Expanded Menu', 'twentytwenty' ),
'mobile' => __( 'Mobile Menu', 'twentytwenty' ),
'footer-1' => __( 'Footer Menu 1', 'twentytwenty' ),
'footer-2' => __( 'Footer Menu 2', 'twentytwenty' ),
'footer-3' => __( 'Footer Menu 3', 'twentytwenty' ),
'footer-4' => __( 'Footer Menu 4', 'twentytwenty' ),
'footer-5' => __( 'Footer Menu 5', 'twentytwenty' ),
'social' => __( 'Social Menu', 'twentytwenty' ),
);
register_nav_menus( $locations );
}
add_action( 'init', 'twentytwenty_menus' );