the_feed_link хук-фильтр . WP 3.0.0
Filters the feed link anchor tag.
Использование
add_filter( 'the_feed_link', 'filter_function_name_7195', 10, 2 ); function filter_function_name_7195( $link, $feed ){ // filter... return $link; }
- $link(строка)
- The complete anchor tag for a feed link.
- $feed(строка)
- The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
the_feed_link
wp-includes/link-template.php 609
echo apply_filters( 'the_feed_link', $link, $feed );