get_post_type_archive_feed_link
get_post_type_archive_feed_link ( $post_type, $feed = '' )
Parameters:- (string) post_type Post type.
- (string) feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
Returns:- (string|false) The post type feed permalink. False if the post type does not exist or does not have an archive.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Retrieves the permalink for a post type archive feed.