register_navigation_areas


register_navigation_areas ( $new_areas )

Parameters:
  • (array) new_areas Supported navigation areas.
Defined at:

Description

Registers the navigation areas supported by the current theme. The expected shape of the argument is: array( 'primary' => 'Primary', 'secondary' => 'Secondary', 'tertiary' => 'Tertiary', )

Related Functions

get_navigation_areas, _wp_register_default_navigation_areas, register_block_core_navigation_area, register_nav_menus, register_activation_hook

Top Google Results

User discussions

wpseek mobile