Properties

$change_password

$change_password : bool

Type

normal

Methods

__construct()

__construct() : mixed

Password constructor.

Returns

mixed

reset_url()

reset_url() : bool|string

Get Reset URL

Returns

bool|string

get_class()

get_class(string  $mode) : string

Add class based on shortcode

Parameters

string $mode

Returns

string

ultimatemember_password()

ultimatemember_password(array  $args = array()) : string

Shortcode

Parameters

array $args

Returns

string

is_reset_request()

is_reset_request() : bool

Check if a legitimate password reset request is in action

Returns

bool

is_change_request()

is_change_request() : bool

Check if a legitimate password change request is in action

works both for the Account > Password form and the Reset Password shortcode form

Returns

bool

form_init()

form_init() : mixed

Password page form

Returns

mixed

um_reset_password_errors_hook()

um_reset_password_errors_hook( $args) : mixed

Error handler: reset password

Parameters

$args

Returns

mixed

um_reset_password_process_hook()

um_reset_password_process_hook( $args) : mixed

Process a new request

Parameters

$args

Returns

mixed

um_change_password_errors_hook()

um_change_password_errors_hook( $args) : mixed

Error handler: changing password

It works both for the Reset Password Shortcode and Account > Change password form

Parameters

$args

Returns

mixed

um_change_password_process_hook()

um_change_password_process_hook( $args) : mixed

Process a change request

Parameters

$args

Returns

mixed

setcookie()

setcookie(string  $name, string  $value = '', int  $expire, string  $path = '') : mixed

Disable page caching and set or clear cookie

Parameters

string $name
string $value
int $expire
string $path

Returns

mixed

add_placeholder()

add_placeholder( $placeholders) : array

UM Placeholders for reset password

Parameters

$placeholders

Returns

array

add_replace_placeholder()

add_replace_placeholder( $replace_placeholders) : array

UM Replace Placeholders for reset password

Parameters

$replace_placeholders

Returns

array