PL_User::update($args=array()) updates the user associated with the API Key. Here is a example requests

Sample Requests

$args = array(
  'first_name' => 'Matt',
  'last_name' => 'Smith',
  'phone' => '123-567-5432',
  'website' => 'https://placester.com',
  'about' => 'Matt is a cool guy',
  'slogan' => 'props are us',
  'location' => array(
    'address' => '123 Main St',
    'postal' => '12345',
    'region' => 'Boston',
    'locality' => 'MA',
    'country' => 'US'
    )
  );

PL_User::update($args);

Arguments

Argument Description Example
first_name (String) First name
last_name (String) Last name
website (String) Phone number
about (String) Phone number
slogan (String) Phone number
location[address] (String) Phone number
location[postal] (String) Phone number
location[region] (String) Phone number
location[locality] (String) Phone number
location[country] (String) Phone number

 

Returns

Key Description
id ID of user updated

 

Sample Output

  Array
(
    [id] => 5279dede6b03655895000007
)