WordPress at a glance
filter is not described

posts_search filter-hook . WP 3.0.0

Filters the search SQL that is used in the WHERE clause of WP_Query.


add_filter( 'posts_search', 'filter_function_name_9535', 10, 2 );
function filter_function_name_9535( $search, $this ){
	// filter...

	return $search;
Search SQL for WHERE clause.
The current WP_Query object.

Where the hook is called

wp-includes/class-wp-query.php 2099
$search = apply_filters_ref_array( 'posts_search', array( $search, &$this ) );

Where the hook is used (in WP core)

Использование не найдено.