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 :: parent()
- MEOW_Post A post object if the current WordPress object is a post.
- A term object if the current WordPress object is a term in a taxonomy.
Retrieves the immediate parent object of the current WordPress WOOF::object.
Note: this will only return meaningful results if the current object is a post or term (and the type / taxonomy is hierarchical respectively).