If Reverse Teams option is enabled then the Main Results should be reversed also
This commit is contained in:
@@ -472,6 +472,10 @@ class SP_Event extends SP_Custom_Post{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( 'yes' === get_option( 'sportspress_event_reverse_teams', 'no' ) ) {
|
||||||
|
$output = array_reverse( $output, true );
|
||||||
|
}
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user