MasterPress 1.2.0 has just been released. This release is for compatibility with the newly released PHP version 7.4.
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.