站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Plugin API/Filter Reference
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
== 链接 Filters == Note: This section contains filters related to links to posts, pages, archives, feeds, etc. For blogroll links, see the [[WordPress:#Blogroll Filters]] section below. 注:这个部分包含了文章,网页,归档,feed等等的链接相关的filters。关于友情链接,请看看下面的[[WordPress:#Blogroll Filters|#友情链接Filters]]部分。 ;attachment_link: applied to the calculated attachment permalink by the <tt>get_attachment_link</tt> function. Filter function arguments: link URL, attachment ID. ;attachment_link:应用到<tt>get_attachment_link</tt>函数的calculated attachment permalink。Filter function arguments: l链接URL, attachment ID。 ;author_feed_link: applied to the feed URL generated for the author feed by the <tt>get_author_rss_link</tt> function. ;author_feed_link:由<tt>get_author_rss_link</tt>函数应用到,为作者feed创建的feed URL。 ;author_link : applied to the author's archive permalink created by the <tt>get_author_posts_url</tt> function. Filter function arguments: link URL, author's "nice" name, author ID. Note that <tt>get_author_posts_url</tt> is called within functions <tt>wp_list_authors</tt> and <tt>the_author_posts_link</tt>. ;author_link :应用到<tt>get_author_posts_url</tt>函数创建的作者的归档permalink。Filter function arguments:链接URL,作者的"昵称",作者ID。注意<tt>get_author_posts_url</tt>是从函数<tt>wp_list_authors</tt>和<tt>the_author_posts_link</tt>内部调用的。 ;day_link: applied to the link URL for a daily archive by the <tt>get_day_link</tt> function. Filter function arguments: URL, year, month number, day number. ;day_link:应用到<tt>get_day_link</tt>函数每日归档的链接URL。Filter function arguments:URL,年,月,日。 ;feed_link: applied to the link URL for a feed by the <tt>get_feed_link</tt> function. Filter function arguments: URL, type of feed (e.g. "rss2", "atom", etc.). ;feed_link:由<tt>get_feed_link</tt>函数应用到feed的链接URL。Filter function arguments: URL, feed 的类型(例如 "rss2", "atom", 等等)。 ;get_comment_author_link : applied to the HTML generated for the author's link on a comment, in the <tt>get_comment_author_link</tt> function (which is also called by <tt>comment_author_link</tt>. ;get_comment_author_link :应用到评论上作者链接的HTML,在<tt>get_comment_author_link</tt>函数中(也由<tt>comment_author_link</tt>调用。 ;get_comment_author_url_link: applied to the HTML generated for the author's lnik on a comment, in the <tt>get_comment_author_url_link</tt> function (which is also called by <tt>comment_author_link</tt>). ;get_comment_author_url_link:应用到<tt>get_comment_author_url_link</tt>函数中,评论上作者链接的HTML。(也由<tt>comment_author_link</tt>调用)。 ;month_link: applied to the link URL for a monthly archive by the <tt>get_month_link</tt> function. Filter function arguments: URL, year, month number. ;month_link:应用到<tt>get_month_link</tt>函数创建的每月归档的链接URL。Filter function arguments: URL, 年,月。 ;page_link : applied to the calculated page URL by the <tt>get_page_link</tt> function. Filter function arguments: URL, page ID. Note that there is also an internal filter called <tt>_get_page_link</tt> that can be used to filter the URLS of pages that are not designated as the blog's home page (same arguments). ;page_link :应用到<tt>get_page_link</tt>函数计算出的网页URL。Filter function arguments: URL, 网页 ID。注意,也有个称为<tt>_get_page_link</tt>的内部filter,可以用来过滤网页URLS,不指定这些URLS作为博客的主页(同样的参数)。 ;post_link : applied to the calculated post permalink by the <tt>get_permalink</tt> function, which is also called by the <tt>the_permalink</tt>, <tt>post_permalink</tt>, <tt>previous_post_link</tt>, and <tt>next_post_link</tt> functions. Filter function arguments: permalink URL, post data list. ;post_link :应用到<tt>get_permalink</tt>函数计算的文章permalink,也由tt>the_permalink</tt>, <tt>post_permalink</tt>, <tt>previous_post_link</tt>, 和<tt>next_post_link</tt>函数调用。Filter function arguments: permalink URL,文章数据列表。 ;the_permalink: applied to the permalink URL for a post prior to printing by function <tt>the_permalink</tt>. ;the_permalink:应用到文章permalinkURL,再由<tt>the_permalink</tt>函数印出。 ;year_link: applied to the link URL for a yearly archive by the <tt>get_year_link</tt> function. Filter function arguments: URL, year. ;year_link:应用到<tt>get_year_link</tt>函数按年归档的链接URL。Filter function arguments: URL, 年。
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)