MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
The “id” to search for – this argument is flexible in that it can be any one of:
- A post slug – e.g. “about-us”
- An integer post ID – e.g. 20
- A WOOF_Post or MEOW_Post object (which will simply return itself).