A WordPress-centric search engine for devs and theme authors



wp_ajax_menu_quick_search ›

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

Ajax handler for menu quick searching.



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