Action: um_submit_form_errors_hook__profile

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

Fires for profile form validation when it has been submitted.

Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt): 1 - um_profile_validate_nonce() Validate nonce.

Parameters:
Name Type Description
$submitted_data array

$_POST Submission array.

$form_data array

UM form data. Since 2.6.7

Since:
  • 2.0
Source:
Example

Make any validation action when profile form submitted.

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