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.
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.