post_type_archive_feed_link WordPress Filter Hook

The post_type_archive_feed_link hook is called when the link for a post type archive's feed is being generated.

apply_filters( 'post_type_archive_feed_link', string $link, string $feed ) #

Filters the post type archive feed link.


Parameters

$link

(string)The post type archive feed link.

$feed

(string)Feed type. Possible values include 'rss2', 'atom'.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More