get_user_meta Wordpress function


Description:

Retrieve user meta field for a user.


Syntax:


Arguments:

(int) $user_id Post ID.
(string) $key Optional. The meta key to retrieve. By default, returns data for all keys.
(bool) $single Whether to return a single value.


Return Type:

(mixed) Will be an array if $single is false. Will be value of meta data field if $single is true.


Define At:

wp-includes/user.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_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 ×