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_RelatedTerm :: offsetGet( Integer $index )
- The term object, if there is a term at the index specified
- WOOF_Silent An object to allow silent failure, if there is no term at the specified index.
Gets the term object at the given numerical array offset, if it exists. Since this overrides offset-get the term can be obtained by an array-style access directly on the field object – see example.
Note: This method is intended for internal use and should not be called directly.