um_submit_post_form

Hook type

Filter

Description

Change submitted data on form submit

Parameters

$data

(array) Submitted data

Usage

<?php add_filter( 'um_submit_post_form', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_submit_post_form', 'my_submit_post_form', 10, 1 );
function my_submit_post_form( $data ) {
    // your code here
return $data;
}
?>

Change Log

Since: 2.0

Source

um_submit_post_form is located in includes/core/class-form.php::line 262