wp_ajax_menu_quick_search() WordPress Function
The wp_ajax_menu_quick_search() function is used to search for a menu item in the WordPress admin menu. It is used to search for a menu item by its title, slug, or CSS class.
wp_ajax_menu_quick_search() #
Ajax handler for menu quick searching.
Source
File: wp-admin/includes/ajax-actions.php
function wp_ajax_menu_quick_search() { if ( ! current_user_can( 'edit_theme_options' ) ) { wp_die( -1 ); } require_once ABSPATH . 'wp-admin/includes/nav-menu.php'; _wp_ajax_menu_quick_search( $_POST ); wp_die(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |