the_permalink_rss

过滤钩子
apply_filters( 'the_permalink_rss', get_permalink()
参数
  • (string) $post_permalink The current post permalink.
    Required:
定义位置
相关勾子
the_permalinkget_sample_permalinkthe_excerpt_rssterm_linkget_sample_permalink_html
相关方法
the_permalink_rssthe_permalinkget_the_permalinkget_permalinkpost_permalinkpermalink_single_rss
引入
2.3.0
弃用
-

the_permalink_rss是一个模板标签,用于在RSS feed中显示一个文章或页面的固定链接。它在RSS提要中被用来提供一个链接到你的网站上的完整文章或页面内容。

过滤文章的固定链接,以便在feeds中使用。

echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-14 11:36:30

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: