um_user_pre_updating_profile_array

Hook type

Filter

Description

Change submitted data before update profile

Parameters

$to_update

(array) Profile data upgrade

Usage

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

Examples

<?php
add_filter( 'um_user_pre_updating_profile_array', 'my_user_pre_updating_profile', 10, 1 );
function my_user_pre_updating_profile( $to_update ) {
    // your code here
return $to_update;
}
?>

Change Log

Since: 2.0

Source

um_user_pre_updating_profile_array is located in includes/core/um-actions-profile.php::line 313