首页 WordPress函数大全 get_post_type_archive_feed_link()

get_post_type_archive_feed_link()

2020-05-01 / 5294阅 / 悠然

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

get_post_type_archive_feed_link( string $post_type, string $feed = '' )

Retrieves the permalink for a post type archive feed.

描述

参数

$post_type

(string)
(Required)
Post type

$feed

(string)
(Optional)
Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().

Default value: ''

返回

(string|false) The post type feed permalink.

大家谈论
    我的见解