register_nav_menu


register_nav_menu ( $location, $description )

Parameters:
  • (string) $location Menu location identifier, like a slug.
  • (string) $description Menu location descriptive text.
Defined at:

Description

Registers a navigation menu location for a theme.

Related Functions

register_nav_menus, unregister_nav_menu, get_registered_nav_menus, is_nav_menu, wp_create_nav_menu

Top Google Results

User discussions

wpseek mobile