apply_filters( 'um_before_save_filter_submitted', $submitted, $form_submitted_data, $form_data ) → {array}
Filters submitted data before save usermeta "submitted" on registration process.
Parameters:
Name | Type | Description |
---|---|---|
$submitted |
array | Form submitted data prepared for submitted usermeta. |
$form_submitted_data |
array | All submitted data from $_POST. Since 2.6.7. |
$form_data |
array | Form data. Since 2.6.7. |
- Since:
- 2.0
- Source:
Returns:
Form submitted data prepared for submitted usermeta.
- Type
- array
Example
function my_before_save_filter_submitted( $submitted, $form_submitted_data, $form_data ) {
// your code here
return $submitted;
}
add_filter( 'um_before_save_filter_submitted', 'my_before_save_filter_submitted', 10, 3 );