add_user_meta Wordpress function


Description:

Add meta data field to a user.


Syntax:


Arguments:

(int) $user_id Post ID.
(string) $meta_key Metadata name.
(mixed) $meta_value Metadata value.
(bool) $unique Optional, default is false. Whether the same key should not be added.


Return Type:

(bool) False for failure. True for success.


Define At:

wp-includes/user.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_user_meta


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×