um_submit_form_data

Hook type

Filter

Description

Change submitted data on form submit

Parameters

$data

(array) Submitted data

$mode

(string) Form mode

Usage

<?php add_filter( 'um_submit_form_data', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_submit_form_data', 'my_submit_form_data', 10, 2 );
function my_submit_form_data( $data ) {
    // your code here
return $data;
}
?>

Change Log

Since: 2.0

Source

um_submit_form_data is located in includes/core/class-form.php::line 344