Filter: ep_set_default_sort

apply_filters( 'ep_set_default_sort', $sort, {string ) → {string}

Filter default post query order by

Parameters:
Name Type Description
$sort string

Default sort

{string

$order Order direction

Source:
Returns:

New default

Type
string