$location, 'menu' => '', 'container' => '', 'container_class' => '', 'container_id' => '', 'menu_class' => $location, 'menu_id' => '', 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'items_wrap' => '', 'depth' => 0, 'walker' => '' ) ); } function register_ildi_menus() { register_nav_menus(array( 'header-menu' => __('Header Menu', 'ildi'), 'social-menu' => __('Social Links', 'ildi'), 'footer-menu' => __('Footer Menu', 'ildi') )); } // add_action('init', 'register_ildi_menu'); add_action( 'after_setup_theme', 'register_ildi_menus', 0 ); ?>