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_PostType :: post( Mixed $id )
Can be either:
- a string post slug. e.g. “hello-world”
- a database post id. e.g. 23
- A WOOF_Post object representing the post (which simply returns itself).