post_type_archive_feed_link filter-hook . WP 3.1.0
Filters the post type archive feed link.
Usage
add_filter( 'post_type_archive_feed_link', 'filter_function_name_2998', 10, 2 ); function filter_function_name_2998( $link, $feed ){ // filter... return $link; }
- $link(string)
- The post type archive feed link.
- $feed(string)
- Feed type. Possible values include 'rss2', 'atom'.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
post_type_archive_feed_link
wp-includes/link-template.php 1308
return apply_filters( 'post_type_archive_feed_link', $link, $feed );