wp_map_nav_menu_locations


wp_map_nav_menu_locations ( $new_nav_menu_locations, $old_nav_menu_locations )

Parameters:
  • (array) $new_nav_menu_locations New nav menu locations assignments.
  • (array) $old_nav_menu_locations Old nav menu locations assignments.
Returns:
  • (array) Nav menus mapped to new nav menu locations.
Defined at:

Description

Maps nav menu locations according to assignments in previously active theme.

Related Functions

get_nav_menu_locations, wp_ajax_menu_locations_save, wp_nav_menu_locations_meta_box, wp_get_nav_menu_object, wp_save_nav_menu_items

Top Google Results

User discussions

wpseek mobile