do_action( 'um_on_login_before_redirect', $user_id )
Fires after successful login and before user is redirected.
Parameters:
Name | Type | Description |
---|---|---|
$user_id |
int | User ID. |
- Since:
- 1.3.x
- Source:
Example
function my_on_login_before_redirect( $user_id ) {
// your code here
}
add_action( 'um_on_login_before_redirect', 'my_on_login_before_redirect', 10, 1 );