Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_authenticate_cookie()

3 tags 1 category

wp_authenticate_cookie() — Authenticates the user using the WordPress auth cookie.

Inputs: $user (WP_User|WP_Error|null): WP_User or WP_Error object from a previous callback. Default null. $username (string): Username. If not empty, cancels the cookie authentication. $password (string): Password. If not empty, cancels the cookie authentication.

Returns WP_User|WP_Error: WP_User on success, WP_Error on failure.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…