jetpack_sso_handle_login

jetpack_sso_handle_login

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

do_action('jetpack_sso_handle_login') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/sso/class-sso.php line 915
    		 *
    		 * @param WP_User|false|null $user      Local User information.
    		 * @param object             $user_data WordPress.com User Login information.
    		 */
    		do_action( 'jetpack_sso_handle_login', $user, $user_data );
    
    		if ( $user ) {
    			// Cache the user's details, so we can present it back to them on their user screen.
    			update_user_meta( $user->ID, 'wpcom_user_data', $user_data );
    
    			add_filter( 'auth_cookie_expiration', array( Helpers::class, 'extend_auth_cookie_expiration_for_sso' ) );