get_bloginfo_rss хук-фильтр . WP 2.2.0
Filters the bloginfo for use in RSS feeds.
Использование
add_filter( 'get_bloginfo_rss', 'filter_function_name_8883', 10, 2 ); function filter_function_name_8883( $info, $show ){ // filter... return $info; }
- $info(строка)
- Converted string value of the blog information.
- $show(строка)
- The type of blog information to retrieve.
Список изменений
С версии 2.2.0 | Введена. |
Где вызывается хук
get_bloginfo_rss
wp-includes/feed.php 40
return apply_filters( 'get_bloginfo_rss', convert_chars( $info ), $show );