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_RelatedSite :: 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 Site fields to be assigned a value in a number of different formats.
- A single site ID.
- An array of site IDs.
- A CSV string of site IDs.
Note: this method is not intended to be called directly.