Sort sports options by value

This commit is contained in:
Brian Miyaji
2014-06-23 16:07:02 +10:00
parent b53c98900b
commit 189dfd0293

View File

@@ -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;
}