Filter: mc_primary_sort

apply_filters( 'mc_primary_sort', $primary_sort, $context ) → {string}

Set primary sort for getting events. Default 'occur_begin'.

Parameters:
Name Type Description
$primary_sort string

SQL sort column.

$context string

Current function.

Source:
Returns:
Type
string

apply_filters( 'mc_primary_sort', $primary_sort, $context ) → {string}

Set primary sort for getting today's events. Default 'occur_begin'.

Parameters:
Name Type Description
$primary_sort string

SQL sort column.

$context string

Current function.

Source:
Returns:
Type
string