wphooks.info - auth_cookie_valid

auth_cookie_valid

(trunk - 5.0-alpha-43304)

The hook occurs in the following file:

wp-includes/pluggable.php:
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
		}

		/**
		 * Fires once an authentication cookie has been validated.
		 *
		 * @since 2.7.0
		 *
		 * @param array   $cookie_elements An array of data for the authentication cookie.
		 * @param WP_User $user            User object.
		 */
		do_action( 'auth_cookie_valid', $cookie_elements, $user );

		return $user->ID;
	}
endif;

if ( ! function_exists( 'wp_generate_auth_cookie' ) ) :
	/**
	 * Generate authentication cookie contents.
	 *