llms_update_user( array $data = array(), string $location = 'account', array $args = array() )

Performs validations for the user.


Parameters Parameters

$data

(array) (Optional) Array of user data.

Default value: array()

$location

(string) (Optional) (Optional) screen to perform validations for, accepts "account" or "checkout". Default value: 'account'

Default value: 'account'

$args

(array) (Optional) Additional arguments passed to the short-circuit filter.

Default value: array()


Top ↑

Return Return

(int|WP_Error) WP_User ID on success or error object on failure.


Top ↑

Source Source

File: includes/functions/llms.functions.person.php

function llms_update_user( $data = array(), $location = 'account', $args = array() ) {
	return LLMS_Form_Handler::instance()->submit( $data, $location, $args );
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Updated to utilize LLMS_Form_Handler class.
3.7.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.