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.
Checks if the user is the same as a given user id. This method runs the provided $id through the WOOF::user method, so it can accept the same parameters to identify a user (id, login, email, or a MEOW_User or WOOF_User object)
The “id” to search for – this argument is flexible in that it can be any one of the following:
- A username – e.g. “johnsmith”
- An email address – e.g. “email@example.com”
- A user ID – e.g. 2, or even “2”
- A WOOF_User or MEOW_User object.