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.
WOOF_Term :: parent()
- An object representing the parent term, if it exists, or this term object if there is no parent, or the taxonomy is not hierarchical
Retrieves the immediate parent term for this term.
Note: this will only return meaningful results if the term is based on a hierarchical taxonomy.