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 :: slug()
Retrieves the slug for 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).