Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Person_Handler::insert_data( array $data = array(), string $action = 'registration' )
Insert user data during registrations and updates
Parameters Parameters
- $data
-
(array) (Optional) Array of user data to be passed to WP core functions.
Default value: array()
- $action
-
(string) (Optional) Either registration or update.
Default value: 'registration'
Return Return
(WP_Error|int) WP_Error on error or the WP User ID
Source Source
File: includes/class.llms.person.handler.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | |
3.0.0 | Introduced. |