Filter: um_submit_post_form

apply_filters( 'um_submit_post_form', $_post ) → {array}

Filters $_POST submitted data by the UM login, registration or profile form.

Parameters:
Name Type Description
$_post array

Submitted data. Already un-slashed by wp_unslash().

Since:
  • 1.3.x
Source:
Returns:

Submitted data.

Type
array
Example

Extends $_POST data.

function my_submit_post_form( $_post ) {
    $_post['some_key'] = 'some value';
    return $_post;
}
add_filter( 'um_submit_post_form', 'my_submit_post_form' );