WP_Customize_Nav_Menu_Setting::filter_nav_menu_options()
Filters the nav_menu_options option to include this menu’s auto_add preference.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Filters the nav_menu_options option to include this menu’s auto_add preference.
Updates a nav_menu_options array.
Filters the wp_get_nav_menu_object() result to supply the previewed menu object.
Filters the wp_get_nav_menus() result to ensure the inserted menu object is included, and the deleted one is removed.
Handle previewing the setting.
Sanitize an input.
Create/update the nav_menu term for this setting.
Get the instance data for a given widget setting.
Constructor.
Ajax handler for adding a new auto-draft post.