WP_Customize_Nav_Menu_Setting::filter_nav_menu_options

SummerySummery

Filters the nav_menu_options option to include this menu’s auto_add preference.

Syntax

WP_Customize_Nav_Menu_Setting::filter_nav_menu_options( array $nav_menu_options )

ParametersParameters

$nav_menu_options

(array) (Required) Nav menu options including auto_add.

ReturnReturn

(array) (Maybe) modified nav menu options.

SourceSource

File: wp-includes/customize/class-wp-customize-nav-menu-setting.php


			

ChangelogChangelog

Changelog
Version Description
4.3.0 Introduced.
Scroll to Top