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 :: top()
- MEOW_Post The top level ancestor of the term, or simply the term itself if there are no ancestors or the term taxonomy is not hierarchical.
Retrieves the top level ancestor of this term.
Note: this will only return a meaningful result if this term is based on a hierarchical taxonomy.