最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - How to check from which page the user is coming to the current page?

programmeradmin10浏览0评论

Is there a way of doing this with WordPress aside from using $_SERVER['HTTP_REFERER']?

Maybe something like a blend of $_SERVER['HTTP_REFERER'] and is_category(). Something like,

came_from_category( 'uncategorized' )

or

came_from_home()
发布评论

评论列表(0)

  1. 暂无评论