llms_register_user( array $data = array(), string $screen = 'registration', bool $signon = true )
Register a new user
Contents
Description Description
See also See also
Parameters Parameters
- $data
-
(array) (Optional) array of registration data
Default value: array()
- $screen
-
(string) (Optional) the screen to be used for the validation template, accepts "registration" or "checkout"
Default value: 'registration'
- $signon
-
(bool) (Optional) if true, signon the newly created user
Default value: true
Return Return
(int|WP_Error)
Source Source
File: includes/functions/llms.functions.person.php
function llms_register_user( $data = array(), $screen = 'registration', $signon = true ) { return LLMS_Person_Handler::register( $data, $screen, $signon ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: