um_after_user_is_approved

Hook type

Action

Description

Action after user was approved

Parameters

$user_id

(int) User ID

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_after_user_is_approved is located in includes/core/class-user.php::line 1149