do_action( 'um_submit_form_errors_hook__blockedemails', $submitted_data, $form_data )
Fires for validation blocked email addresses when UM login, registration or profile form has been submitted.
Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt):
10 - um_submit_form_errors_hook__blockedemails()
Native validation handlers.
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
function my_submit_form_errors_hook__blockedemails( $post, $form_data ) {
// your code here
}
add_action( 'um_submit_form_errors_hook__blockedemails', 'my_submit_form_errors_hook__blockedemails', 10, 2 );