the_category_rss()
the_category_rss( string $type = null ) 显示订阅源中的文章类别。 Di…
the_category_rss( string $type = null )
显示订阅源中的文章类别。
Display the post categories in the feed.
显示订阅源中的文章类别。
Display the post categories in the feed.
目录锚点:#说明#参数#源码
说明(Description)
另请参阅getthecategory_rss():以获得更好的解释。
参数(Parameters)
| 参数 | 类型 | 说明 |
|---|---|---|
| $type | (string) | default是get_default_feed()返回的类型。 |
源码(Source)
/**
* Display the post categories in the feed.
*
* @since 0.71
* @see get_the_category_rss() For better explanation.
*
* @param string $type Optional, default is the type returned by get_default_feed().
*/
function the_category_rss($type = null) {
echo get_the_category_rss($type);
}| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 0.71 | wp-includes/feed.php | 5 | 3 |
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
还没有任何评论,赶紧来占个楼吧!