do_action ( 'jetpack_wp_login', int $user_id, WP_User $user, array $params )

Fires when a user is logged into a site.

Source file: packages/sync/src/modules/class-users.php

View in GitHub

Parameters

$user_id

(int) The user ID.

$user

(WP_User) The User Object of the user that currently logged in.

$params

(array) Any Flags that have been added during login.


Changelog

Since: Jetpack 7.2.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s