WordPress at a glance
function is not described

wp_clearcookie() WP 1.5.0

Deprecated in 2.5.0. It is no longer supported and can be removed in future releases. Use wp_clear_auth_cookie() instead.

Clears the authentication cookie, logging the user out. This function is deprecated.

  • See: wp_clear_auth_cookie()

No Hooks.

Return

Nothing (null).

Usage

wp_clearcookie();

Code of wp clearcookie: wp-includes/pluggable-deprecated.php VER 5.1.1

<?php
function wp_clearcookie() {
	_deprecated_function( __FUNCTION__, '2.5.0', 'wp_clear_auth_cookie()' );
	wp_clear_auth_cookie();
}