首页 WordPress函数大全 get_the_category_rss()

get_the_category_rss()

2020-05-01 / 4565阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_the_category_rss( string $type = null )

Retrieve all of the post categories, formatted for use in feeds.

描述

All of the categories for the current post in the feed loop, will be retrieved and have feed markup added, so that they can easily be added to the RSS2, Atom, or RSS1 and RSS0.91 RDF feeds.

参数

$type

(string)
(Optional)
default is the type returned by get_default_feed().

Default value: null

返回

(string) All of the post categories for displaying in the feed.

大家谈论
    我的见解