Sort event order alphabetically in The Events Calendar

Sort event order alphabetically in The Events Calendar on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter(
  'tribe_events_views_v2_view_list_repository_args',
  function ( $args ) {
    $args['orderby'] = 'title';
    $args['order'] = 'ASC';
 
    return $args;
  }
);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.