Function Reference/wp get cookie login

来自WordPress中文文档
跳转至: 导航搜索

Description

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.

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

%%%<?php wp_get_cookie_login() ?>%%%

Parameters

None.

Return Values

(boolean) 
Always returns false

Examples

Notes

  • 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.

Change Log

  • Since: 2.0.4
  • Deprecated: 2.5.0

Source File

wp_get_cookie_login() is located in wp-includes/pluggable.php.

Related

includeonlydiv style=clear:both; background-color:#F7F7F7; border:1px solid #CCCCCC; color:#000000; padding:7px; margin:0.5em auto 0.5em auto; vertical-align:middle;See also index of Function Reference and index of Template Tags./div/includeonlynoinclude

Description

This Template is used by Codex:Template Messages.

Usage

pre 检查到模板循环:模板:Message /pre

Result

检查到模板循环:模板:Message

/noinclude