Usage:

This hook allows you to run your own code immediately after a user (either a local or an Infusionsoft-based subscriber) has authenticated during the login process.

Parameters:

iMember360 will pass the following parameters to your action function:

$wp_user is the standard WordPress user object for the person who just logged in.
$contact is an array containing all contact record fields for the person who just logged in

Example: