wp_get_cookie_login

Gets the user cookie login.

Description

wp_get_cookie_login(); 

This function is deprecated.

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.


Usage

  1. if ( !function_exists( 'wp_get_cookie_login' ) ) { 
  2. require_once ABSPATH . WPINC . '/pluggable-deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_get_cookie_login(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/pluggable-deprecated.php  
  1. function wp_get_cookie_login() { 
  2. _deprecated_function( __FUNCTION__, '2.5.0' ); 
  3. return false;