the_search_query

SummerySummery

Displays the contents of the search query variable.

Syntax

the_search_query()

DescriptionDescription

The search query string is passed through esc_attr() to ensure that it is safe for placing in an html attribute.

SourceSource

File: wp-includes/general-template.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.
Scroll to Top