Warning: This method has been deprecated. LLMS_Person_Handler::update() is deprecated, in favor of llms_update_user() instead.
LLMS_Person_Handler::update( array $data = array(), string $screen = 'update' )
Perform validations according to $screen and update the user
Parameters Parameters
- $data
-
(array) (Optional) Associative array of form data.
Default value: array()
- $screen
-
(string) (Optional) Screen to perform validations for, accepts "account" or "checkout".
Default value: 'update'
Return Return
(int|WP_Error) WP_User ID on success or WP_Error on failure.
Source Source
File: includes/class.llms.person.handler.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | LLMS_Person_Handler::update() is deprecated, in favor of llms_update_user() . |
3.7.0 | Unknown. |
3.0.0 | Introduced. |