WordPress.org

Ready to get started?Download WordPress

Forums

get all the menu locations registered using register_nav_menu (2 posts)

  1. neonWired
    Member
    Posted 1 year ago #

    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.

  2. vtxyzzy
    Member
    Posted 1 year ago #

    I think what you want is get_nav_menu_locations(). Look in wp-includes/nav-menu.php for other possibilities.

Topic Closed

This topic has been closed to new replies.

About this Topic