wzpa_query_fields
Filters the SELECT clause of the query.
Type: filter
Since: 1.2.0
Source: includes/frontend/class-display.php line 396
Parameters
| Type | Name | Description |
|---|---|---|
string |
$fields |
The SELECT clause of the query. |
array |
$args |
Arguments array. |
Usage
add_filter( 'wzpa_query_fields', function($fields, $args) {
// ...
return $fields;
} );