auth_cookie_valid

SummerySummery

Fires once an authentication cookie has been validated.

Syntax

do_action( 'auth_cookie_valid', string[] $cookie_elements, WP_User $user )

ParametersParameters

$cookie_elements

(string[]) An array of data for the authentication cookie.

$user

(WP_User) User object.

SourceSource

File: wp-includes/pluggable.php

ChangelogChangelog

Changelog
Version Description
2.7.0 Introduced.
Scroll to Top