\um\coreRegister

Class Register

Summary

Methods
Properties
Constants
__construct()
add_nonce()
verify_nonce()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

Register constructor.

Returns

mixed

add_nonce()

add_nonce(array  $args, int  $form_id) : void

Adds a nonce field to ensure the security of the registration form.

Parameters

array $args

Arguments passed to the function, unused in this implementation.

int $form_id

The ID of the form for which the nonce field is generated.

verify_nonce()

verify_nonce(array  $args, array  $form_data) : mixed

Verify nonce handler

Parameters

array $args
array $form_data

Returns

mixed