常用函数-wp_get_original_referer()

0条评论

说明

检索原始引用页(若引用页存在)

用法

<?php wp_get_original_referer() ?>

参数

返回的值

(字符串 | 布尔型)

如果没有原始引用页,返回false,如有则返回原始引用页。

示例

注释

  • HTTP引用页是一个服务器变量。referer的拼写错误是特意的。

历史记录

始见于2.0.4版本

源文件

wp_get_original_referer() 位于 wp-includes/functions.php中。

相关资源

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.