_admin_search_query()

Displays the search query.


Description

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


Top ↑

Source

File: wp-admin/includes/template.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.