llms_register_user( array $data = array(), string $screen = 'registration', bool $signon = true )

Register a new user


Description Description

See also See also


Top ↑

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


Top ↑

Return Return

(int|WP_Error)


Top ↑

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 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: