WordPress at Your Fingertips
function is not described

_admin_search_query() WP 2.7.0

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.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

null. Nothing.

Usage

_admin_search_query();

Changelog

Since 2.7.0 Introduced.

Code of _admin_search_query() WP 5.8.2

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