gal_user_loggedin

The Google Apps Login gal user loggedin hook.

Description

do_action( 'gal_user_loggedin', (unknown) $user, (unknown) $userinfo, (unknown) $userdidnotexist, (unknown) $client, (unknown) $oauthservice ); 

Parameters (5)

0. $user (unknown)
The user.
1. $userinfo (unknown)
The userinfo.
2. $userdidnotexist (unknown)
The userdidnotexist.
3. $client (unknown)
The client.
4. $oauthservice (unknown)
The oauthservice.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'gal_user_loggedin', $user, $userinfo, $userdidnotexist, $client, $oauthservice ); 
The following example is for adding a hook callback.
  1. // define the gal_user_loggedin callback 
  2. function action_gal_user_loggedin( $user, $userinfo, $userdidnotexist, $client, $oauthservice ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'gal_user_loggedin', 'action_gal_user_loggedin', 10, 5 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'gal_user_loggedin', 'action_gal_user_loggedin', 10, 5 ); 

Defined (1)

The action is defined in the following location(s).

/core/core_google_apps_login.php  
  1. do_action('gal_user_loggedin', $user, $userinfo, $userdidnotexist, $client, $oauthservice);