Sort sports options by value
This commit is contained in:
@@ -41,6 +41,7 @@ class SP_Admin_Sports {
|
||||
}
|
||||
self::$options[ 'custom' ] = __( 'Custom', 'sportspress' );
|
||||
self::$presets = apply_filters( 'sportspress_get_presets', $presets );
|
||||
asort( self::$options );
|
||||
}
|
||||
return self::$presets;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user