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:

Description

Retrieves the permalink for a post type archive feed.

Related Functions

get_post_type_archive_link, get_post_type_archive_template, get_search_feed_link, get_post_comments_feed_link, is_post_type_archive

Top Google Results

User discussions

wpseek mobile