Tag Archives: set field

Set User Meta Data

set_custom_meta_info($user_id, $meta, $value)

This function let’s you update the user’s meta data.

Options:

OPTIONS DEFAULT ALTERNATIVES
user_id any user is should passed as parameter none
meta any valid user’s meta field empty
value any information you would like to set empty

Example:

			
global $xoouserultra;
			
/
$user_id = 11;	//use your custom user id.
			
$xoouserultra->api->set_custom_meta_info($user_id, 'description', "My custom description for this user goes here.");