Support » Fixing WordPress » get all the menu locations registered using register_nav_menu

  • Is there a function for returning all the menu locations registered using register_nav_menu like you would use get_post_types to return register custom posts.

Viewing 1 replies (of 1 total)
  • I think what you want is get_nav_menu_locations(). Look in wp-includes/nav-menu.php for other possibilities.

Viewing 1 replies (of 1 total)
  • The topic ‘get all the menu locations registered using register_nav_menu’ is closed to new replies.