wphooks.info - auth_cookie_expired

auth_cookie_expired

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/pluggable.php:
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
	// Quick check to see if an honest cookie has expired
	if ( $expired < time() ) {
		/**
		 * Fires once an authentication cookie has expired.
		 *
		 * @since 2.7.0
		 *
		 * @param array $cookie_elements An array of data for the authentication cookie.
		 */
		do_action( 'auth_cookie_expired', $cookie_elements );
		return false;
	}

	$user = get_user_by('login', $username);
	if ( ! $user ) {
		/**
		 * Fires if a bad username is entered in the user authentication process.
		 *
		 * @since 2.7.0