um_access_profile

Hook type

Action

Description

Action on user access profile

Parameters

$user_id

(int) User ID

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_access_profile is located in includes/core/class-rewrite.php::line 218