Add hooks for the Customizer preview.
WP_Customize_Nav_Menus::filter_wp_nav_menu_args
Keep track of the arguments that are being passed to wp_nav_menu().
WP_Customize_Nav_Menus::filter_wp_nav_menu
Prepares wp_nav_menu() calls for partial refresh.
WP_Customize_Nav_Menus::hash_nav_menu_args
Hashes (hmac) the nav menu arguments to ensure they are not tampered with when submitted in the Ajax request.
Advertisement
WP_Customize_Nav_Menus::customize_preview_enqueue_deps
Enqueue scripts for the Customizer preview.
WP_Customize_Nav_Menus::export_preview_data
Exports data from PHP to JS.
WP_Customize_Nav_Menus::render_nav_menu_partial
Render a specific menu via wp_nav_menu() using the supplied arguments.
WP_Customize_Nav_Menus::filter_dynamic_setting_args
Filters a dynamic setting’s constructor args.
Advertisement
WP_Customize_Nav_Menus::filter_dynamic_setting_class
Allow non-statically created settings to be constructed with custom WP_Customize_Setting subclass.
WP_Customize_Nav_Menus::customize_register
Add the customizer settings and controls.
WP_Customize_Nav_Menus::intval_base10
Get the base10 intval.
WP_Customize_Nav_Menus::available_item_types
Return an array of all the available item types.
Advertisement
WP_Customize_Nav_Menus::print_templates
Print the JavaScript templates used to render Menu Customizer components.
WP_Customize_Nav_Menus::available_items_template
Print the HTML template used to render the add-menu-item frame.
WP_Customize_Nav_Menus::__construct
Constructor.