WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
This hook occurs 2 times in this file.
Line | Code |
---|---|
29 | * |
30 | * @since 2.2.0 |
31 | * |
32 | * @see convert_chars() |
33 | * @see get_bloginfo() |
34 | * |
35 | * @param string $info Converted string value of the blog information. |
36 | * @param string $show The type of blog information to retrieve. |
37 | */ |
38 | return apply_filters( 'get_bloginfo_rss', convert_chars( $info ), $show ); |
39 | } |
40 |
|
41 | /** |
42 | * Display RSS container for the bloginfo function. |
43 | * |
44 | * You can retrieve anything that you can using the get_bloginfo() function. |
45 | * Everything will be stripped of tags and characters converted, when the values |
46 | * are retrieved for use in the feeds. |
47 | * |
Line | Code |
384 | } |
385 |
|
386 | $cat_names = array_unique($cat_names); |
387 |
|
388 | foreach ( $cat_names as $cat_name ) { |
389 | if ( 'rdf' == $type ) |
390 | $the_list .= "\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n"; |
391 | elseif ( 'atom' == $type ) |
392 | /** This filter is documented in wp-includes/feed.php */ |
393 | $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', esc_attr( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), esc_attr( $cat_name ) ); |
394 | else |
395 | $the_list .= "\t\t<category><![CDATA[" . @html_entity_decode( $cat_name, ENT_COMPAT, get_option('blog_charset') ) . "]]></category>\n"; |
396 | } |
397 |
|
398 | /** |
399 | * Filter all of the post categories for display in a feed. |
400 | * |
401 | * @since 1.2.0 |
402 | * |