W3cubDocs

/WordPress

wp_get_cookie_login()

This function has been deprecated.

Gets the user cookie login. This function is deprecated.

Description

This function is deprecated and should no longer be extended as it won’t be used anywhere in WordPress. Also, plugins shouldn’t use it either.

Return

(bool) Always returns false

Source

File: wp-includes/pluggable-deprecated.php

function wp_get_cookie_login() {
	_deprecated_function( __FUNCTION__, '2.5.0' );
	return false;
}

Changelog

Version Description
2.5.0 This function has been deprecated.
2.0.3 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_get_cookie_login