_admin_search_query() – Displays the search query.

You appear to be a bot. Output may be restricted

Description

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.

Usage

_admin_search_query();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/template.php
Lines:

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

 View on GitHub View on Trac