We have released a new version to correct any deprecation warnings & notices caused by PHP 7.3 incompatibility.
Mixed $id = null
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”
- null (not provided). This will attempt to return the current (logged in) user