gdtt_cpt_feed_link

gdtt_cpt_feed_link($post_type, $feed = '')

  • $post_type: name of the custom post type.
  • $feed: replacement feed object. Defaults to RSS2 if not set to anything else.

Returns custom post type archive feed link. Works with permalinks settings active or deactivated.

Comments

Leave a Reply