Created
December 20, 2021 12:31
-
-
Save kadimi/8ed2a3e19ec1e2b700f54aae76a0b86a to your computer and use it in GitHub Desktop.
SportsPress Team Event Sorting Direction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'sp_team_events_list_args', function( $args ) { | |
$args[ 'order' ] = 'ASC'; | |
return $args; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment