4495* Filters the contents of the search query variable.4496*4497* @since 2.3.04498*4499* @param mixed$search Contents of the search query variable.4500*/4501$query=apply_filters('get_search_query',get_query_var('s'));45024503if($escaped){4504$query=esc_attr($query);4505}4506return$query;4507}
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.