MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
MPFT_RelatedPostType :: value_for_set( Mixed $value )
- Mixed The value in a format required for database storage.
Overrides the MPFT::value_for_set method to allow Related Post Type fields to be assigned a value in a number of different formats.
- A single post type name.
- An array of post type names.
- A csv string of post type names.
Note: this method is not intended to be called directly.