get_usermeta
- get_usermeta is deprecated since version 3.0.0!
Alternative: get_user_meta()
get_usermeta ( $user_id, $meta_key = '' )
Parameters:- (int) user_id User ID
- (string) meta_key Optional. Metadata key. Default empty.
See:Returns:Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: 3.0.0
Description
Retrieve user metadata.If $user_id is not a number, then the function will fail over with a 'false'
boolean return value. Other returned values depend on whether there is only
one item to be returned, which be that single item type. If there is more
than one metadata value, then it will be list of metadata values.