wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_ajax_menu_quick_search › WordPress Function

Since3.1.0
Deprecatedn/a
wp_ajax_menu_quick_search ( No parameters )
Defined at:
Codex:

Handles menu quick searching via AJAX.



Source

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();
}