It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
WOOF_Collection :: by_number( String $name, String $order = "ASC", Boolean $case_insensitive = false, Boolean $clone = false )
The property name whose values will be used to sort by
String $order = "ASC"
The order to sort by, either “ASC” for ascending, or “DESC” for descending
Boolean $case_insensitive = false
Whether to ignore the case of the values when sorting
Boolean $clone = false
If true, the original collection will be untouched, and a clone of the sorted collection will be returned instead.