Filter: um_register_allow_nonce_verification

apply_filters( 'um_register_allow_nonce_verification', $allow_nonce, $form_data ) → {bool}

Filters allow nonce verifying while UM Register submission.

Parameters:
Name Type Description
$allow_nonce bool

Is allowed verify nonce on register. By default, allowed = true.

$form_data array

Form's metakeys. Since 2.6.7.

Since:
  • 2.0
Source:
Returns:

Is allowed verify.

Type
bool
Example

Disable verifying nonce on the register page.

add_filter( 'um_login_allow_nonce_verification', '__return_false' );