Action: um_submit_form_errors_hook__blockedwords

do_action( 'um_submit_form_errors_hook__blockedwords', $submitted_data, $form_data )

Fires for registration and profile forms validation when it has been submitted.

Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt): 10 - um_submit_form_errors_hook__blockedwords() Validate username and email from blocked words.

Parameters:
Name Type Description
$submitted_data array

$_POST Submission array.

$form_data array

UM form data. Since 2.6.7

Since:
  • 1.3.x
Source:
Example

Make any validation action when registration or profile form submitted.

function my_submit_form_errors_hook__blockedwords( $submitted_data, $form_data ) {
    // your code here
}
add_action( 'um_submit_form_errors_hook__blockedwords', 'my_submit_form_errors_hook__blockedwords', 10, 2 );