Action: um_access_profile

do_action( 'um_access_profile', $user_id )

Fires after setting requested user.

Parameters:
Name Type Description
$user_id int

Requested User ID.

Since:
  • 1.3.x
Source:
Example

Some action on user access profile and requested user isset.

add_action( 'um_access_profile', 'my_access_profile', 10, 1 );
function my_access_profile( $user_id ) {
    // your code here
}