wp_get_cookie_login()获取用户登录的cookie

目录

描述

译文

该函数可由插件代替。若插件无法重新定义函数,则使用该函数。

该函数获取用户登录的cookie。

该函数已被弃用,用户不能继续在WordPress中使用该函数。也不可以用插件来代替该函数。

原文

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

Gets the user cookie login.

The function is now deprecated and just returns false.

wp_get_cookie_login() 描述

用法

<?php wp_get_cookie_login() ?>

wp_get_cookie_login() 用法

参数

None.

wp_get_cookie_login() 参数

返回值

(boolean) 

Always returns false

wp_get_cookie_login() 返回值

注意

  • This function can be replaced via plugins. If plugins do not redefine these functions, then this will be used instead.
  • 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.

wp_get_cookie_login() 注意

历史

  • 添加于 版本: 2.0.4
  • Deprecated: 2.5.0

wp_get_cookie_login() 历史

源文件

wp_get_cookie_login() was located in wp-includes/pluggable.php. Since deprecation it has been moved to wp-includes/pluggable-deprecated.php.

wp_get_cookie_login() 源文件