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