Action: um_user_login_extra_hook

do_action( 'um_user_login_extra_hook', $submitted_data, $form_data )

Fires after submit login form.

Internal Ultimate Member callbacks (Priority -> Callback name -> Excerpt):

  • 10 - um-messaging.
Parameters:
Name Type Description
$submitted_data array

$_POST Submission array.

$form_data array

UM form data. Since 2.6.7

Since:
  • 1.3.x
Source:
Example

Make any custom login action.

function my_user_login_extra( $submitted_data, $form_data ) {
    // your code here
}
add_action( 'um_user_login_extra_hook', 'my_user_login_extra', 10, 2 );