taxonomy_feed_link хук-фильтр . WP 3.0.0
Filters the feed link for a taxonomy other than 'category' or 'post_tag'.
Использование
add_filter( 'taxonomy_feed_link', 'filter_function_name_2670', 10, 3 ); function filter_function_name_2670( $link, $feed, $taxonomy ){ // filter... return $link; }
- $link(строка)
- The taxonomy feed link.
- $feed(строка)
- Feed type. Possible values include 'rss2', 'atom'.
- $taxonomy(строка)
- The taxonomy name.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
wp-includes/link-template.php 924
$link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy );