MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
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.