Login for Google Apps by WPAuth icon
Membership & Users

Login for Google Apps by WPAuth hooks reference

  • By Syed Balkhi
  • v3.5.2
  • Updated

Login for Google Apps by WPAuth 3.5.2 has 1 actions and 9 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Login for Google Apps by WPAuth fires an action
add_action( 'gal_user_loggedin', function( $user, $userinfo, $userdidnotexist, $client, $oauthservice ) {
	// Your code runs here.
}, 10, 5 );

// Change a value Login for Google Apps by WPAuth is about to use
add_filter( 'gal_avatar_source_desc', function( $value, $profile_user ) {
	// Change $value here.
	return $value;
}, 10, 2 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • core/core_google_apps_login.php line 877
    apply_filters( 'gal_avatar_source_desc', $description . ' <br /> ' . $source_text, $profile_user );
  • core/core_google_apps_login.php line 1698
    apply_filters( 'gal_client_config_ini', null );
  • core/core_google_apps_login.php line 93
    apply_filters( 'gal_gather_scopes', $this->get_default_scopes() );
  • core/core_google_apps_login.php line 1032
    apply_filters( 'gal_gather_serviceacct_reqs', [] );
  • core/core_google_apps_login.php line 459
    apply_filters( 'gal_login_button_text', $login_button_text );
  • gal_login_url

    filter
    core/core_google_apps_login.php line 699
    apply_filters( 'gal_login_url', $login_url );
  • gal_options

    filter
    core/core_google_apps_login.php line 1523
    apply_filters( 'gal_options', $option );
  • core/core_google_apps_login.php line 1577
    apply_filters( 'gal_sa_options', $ga_sa_options );
  • core/core_google_apps_login.php line 579
    do_action( 'gal_user_loggedin', $user, $userinfo, $userdidnotexist, $client, $oauthservice );

Generated from Login for Google Apps by WPAuth's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: