Reported by islp via User Contributed Notes.
Issue Description
The docs lack one scenario:
mixed
- An array of values if $single is false.
- The value of meta data field if $single is true.
- False for an invalid $user_id (non-numeric, zero, or negative value).
- An empty string if a valid but non-existing user ID is passed.
What if the user ID is ok and the meta field doesn’t exist?
URL of the Page with the Issue
https://developer.wordpress.org/reference/functions/get_user_meta/#return
Section of Page with the issue
Return
Why is this a problem?
Does not include a possible scenario.
Suggested Fix
Adjust the return section to include the described scenario.
Reported by
islpvia User Contributed Notes.Issue Description
URL of the Page with the Issue
https://developer.wordpress.org/reference/functions/get_user_meta/#return
Section of Page with the issue
Return
Why is this a problem?
Does not include a possible scenario.
Suggested Fix
Adjust the return section to include the described scenario.