wphooks.info - auth_cookie_valid

auth_cookie_valid

The hook occurs in the following file:

wp-includes/pluggable.php:
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
	}

	/**
	 * 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.
 *