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.
MEOW_FieldSetCollection :: psort( String $field, String $property, String $order = ASC )
- MEOW_VirtualFieldSetCollection A virtual field set collection representing the field set items sorted by property.
Sorts the field set collection by the value of the specified field property. A property in this sense is anything that could normally be accessed off the field set, which includes methods of the field’s type delegates, or properties of the field (e.g. alt text in an image, or duration of a video).
Note: this method is only appropriate for field sets that allow multiple items.