update_usermeta
- update_usermeta is deprecated since version 3.0.0!
Alternative: update_user_meta()
update_usermeta ( $user_id, $meta_key, $meta_value )
Parameters:- (int) user_id User ID
- (string) meta_key Metadata key.
- (mixed) meta_value Metadata value.
See:Returns:- (bool) True on successful update, false on failure.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: 3.0.0
Description
Update metadata of user.There is no need to serialize values, they will be serialized if it is
needed. The metadata key can only be a string with underscores. All else will
be removed.
Will remove the metadata, if the meta value is empty.