wp_clearcookie

The timeline below displays how wordpress function wp_clearcookie has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Clears the authentication cookie, logging the user out. This function is deprecated.
 *
 * @since 1.5.0
 * @deprecated 2.5.0 Use wp_clear_auth_cookie()
 * @see wp_clear_auth_cookie()
 */
function wp_clearcookie()
{
    _deprecated_function(__FUNCTION__, '2.5.0', 'wp_clear_auth_cookie()');
    wp_clear_auth_cookie();
}

WordPress Version: 4.4

/**
 * Clears the authentication cookie, logging the user out. This function is deprecated.
 *
 * @since 1.5.0
 * @deprecated 2.5.0 Use wp_clear_auth_cookie()
 * @see wp_clear_auth_cookie()
 */
function wp_clearcookie()
{
    _deprecated_function(__FUNCTION__, '2.5', 'wp_clear_auth_cookie()');
    wp_clear_auth_cookie();
}

WordPress Version: 3.9

/**
 * Clears the authentication cookie, logging the user out. This function is deprecated.
 *
 * @since 1.5.0
 * @deprecated 2.5.0
 * @deprecated Use wp_clear_auth_cookie()
 * @see wp_clear_auth_cookie()
 */
function wp_clearcookie()
{
    _deprecated_function(__FUNCTION__, '2.5', 'wp_clear_auth_cookie()');
    wp_clear_auth_cookie();
}

WordPress Version: 3.7

/**
 * Clears the authentication cookie, logging the user out. This function is deprecated.
 *
 * @since 1.5
 * @deprecated 2.5
 * @deprecated Use wp_clear_auth_cookie()
 * @see wp_clear_auth_cookie()
 */
function wp_clearcookie()
{
    _deprecated_function(__FUNCTION__, '2.5', 'wp_clear_auth_cookie()');
    wp_clear_auth_cookie();
}