um_user_before_updating_profile

Hook type

Action

Description

Some actions before profile submit

Parameters

$userinfo

(array) User Data

Usage

add_action( 'um_user_before_updating_profile', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_user_before_updating_profile', 'my_user_before_updating_profile', 10, 1 );
function my_user_before_updating_profile( $userinfo ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_user_before_updating_profile is located in includes/core/um-actions-profile.php::line 215