Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp clear auth cookie

This page redirects to an external site: https://developer.wordpress.org/reference/functions/wp_clear_auth_cookie/

Description

This function can be replaced via plugins. If plugins do not redefine these functions, then this will be used instead.

Removes all of the cookies associated with authentication.

Usage

<?php wp_clear_auth_cookie(); ?>

Parameters

None.

Return Values

(void) 
This function does not return a value.

Examples

Notes

  • This function can be replaced via plugins. If plugins do not redefine these functions, then this will be used instead.

Change Log

Since: 2.5

Source File

wp_clear_auth_cookie() is located in wp-includes/pluggable.php.

Related