4700* Filters the contents of the search query variable.4701*4702* @since 2.3.04703*4704* @param mixed$search Contents of the search query variable.4705*/4706$query=apply_filters('get_search_query',get_query_var('s'));47074708if($escaped){4709$query=esc_attr($query);4710}4711return$query;4712}
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.