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_RelatedUserRole :: forward()
- Mixed The result of the call
Implements MPFT::forward to allow the field object to forward calls to this field type’s delegate. The delegate for the related user role field type is the first user role, regardless of whether or not the field is setup to allow multiple user roles to be selected (iterator-related methods are setup to regard the multiple items though).
Note: This method is intended for internal use and should not be called directly.