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



_admin_search_query › WordPress Function

Since2.7.0
Deprecatedn/a
_admin_search_query ( No parameters )
Defined at:
Codex:

Displays the search query.

A simple wrapper to display the "s" parameter in a GET URI. This function should only be used when the_search_query() cannot.


Source

function _admin_search_query() {
	echo isset( $_REQUEST['s'] ) ? esc_attr( wp_unslash( $_REQUEST['s'] ) ) : '';
}