WordPress函数get_the_category_rss用于获取当前文章所属分类、标签的Rss。
get_the_category_rss( string $type = null )
函数参数
$type
字符串
Feed的类型,可用值:rss2、atom,默认值为get_default_feed()函数返回的值,即rss2
函数返回值
扩展阅读
get_the_category_rss()函数位于:wp-includes/feed.php
相关函数:
- get_the_tags()
- get_the_category()
- sanitize_term_field()
原创文章,作者:,如若转载,请注明出处:https://ce.771633.xyz/1957.html