um_before_save_filter_submitted

Hook type

Filter

Description

Change submitted data before save usermeta "submitted" on registration process

Parameters

$submitted

(array) Submitted data

Usage

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

Examples

<?php
add_filter( 'um_before_save_filter_submitted', 'my_before_save_filter_submitted', 10, 1 );
function my_before_save_filter_submitted( $submitted ) {
    // your code here
return $submitted;
}
?>

Change Log

Since: 2.0

Source

um_before_save_filter_submitted is located in includes/core/class-user.php::line 877