WP_Customize_Nav_Menus::export_preview_data()
Exports data from PHP to JS.
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.
Exports data from PHP to JS.
Filters a dynamic setting’s constructor args.
Allows non-statically created settings to be constructed with custom WP_Customize_Setting subclass.
Adds a nonce for customizing menus.
Prepares wp_nav_menu() calls for partial refresh.
Keeps track of the arguments that are being passed to wp_nav_menu().
Hashes (hmac) the nav menu arguments to ensure they are not tampered with when submitted in the Ajax request.
Adds a new auto-draft post.
Gets the base10 intval.
Performs the post_type and taxonomy queries for loading available menu items.