tptn_posts_fields
Filter the SELECT clause of the query.
Type: filter
Source: includes/frontend/class-display.php line 428
Parameters
| Type | Name | Description |
|---|---|---|
string | $fields | The SELECT clause of the query. |
Usage
add_filter( 'tptn_posts_fields', function($fields) {
// ...
return $fields;
} );