• Wordpress wp_login hook not triggered when a user logs in using this plugin
    I need to do an API call after a user logins in to set office id on their account but wp_login is not being triggered. Any idea’s why or alternative hook I could try

    Thankyou

Viewing 1 replies (of 1 total)
  • Plugin Author sixtomartin

    (@sixtomartin)

    That is because the plugin in order to log the users use:
    – wp_set_current_user
    – wp_set_auth_cookie

    I will add the lines

    do_action( ‘wp_login’, $user->user_login, $user );

    configurable by the settings

Viewing 1 replies (of 1 total)

The topic ‘WordPress wp_login hook not triggered’ is closed to new replies.