MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
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.