Function Reference/get post type archive feed link
This article is a
ROUGH DRAFT. The author is still working on this document, so
please do not edit this without the author's permission. The content within this article may not yet be verified or valid. This information is subject to change.
Languages: English • (Add your language)
Description
Retrieve the permalink for a post type archive.
Usage
<?php get_post_type_archive_feed_link( $post_type, $feed = ); ?>
Parameters
- $post_type
- (string) (required) Post type
- Default: None
- $feed
- (string) (optional) Feed type
- Default: None
Return Values
- (string)
- the permalink for a post type archive feed.
Examples
Notes
Change Log
Since: 3.1.0
Source File
get_post_type_archive_feed_link() is located in wp-includes/link-template.php.
Related