apply_filters_ref_array( 'posts_fields', string $fields , WP_Query $query )
Filters the SELECT clause of the query.
Parameters
Source
File: wp-includes/class-wp-query.php
.
View all references
$fields = apply_filters_ref_array( 'posts_fields', array( $fields, &$this ) );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |