WordPress at a glance
filter is not described

posts_fields filter-hook . WP 2.1.0

Filters the SELECT clause of the query.

Usage

add_filter( 'posts_fields', 'filter_function_name_4343', 10, 2 );
function filter_function_name_4343( $fields, $this ){
	// filter...

	return $fields;
}
$fields(string)
The SELECT clause of the query.
$this(WP_Query)
The WP_Query instance (passed by reference).

Changelog

Since 2.1.0 Introduced.

Where the hook is called

WP_Query::get_posts()
posts_fields
wp-includes/class-wp-query.php 2749
$fields = apply_filters_ref_array( 'posts_fields', array( $fields, &$this ) );

Where in WP core the hook is used

Usage not found!