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