Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: widget_meta_poweredby

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
55                <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
56                <?php
57                /**
58                 * Filter the "Powered by WordPress" text in the Meta widget.
59                 *
60                 * @since 3.6.0
61                 *
62                 * @param string $title_text Default title text for the WordPress.org link.
63                 */
64                echo apply_filters( 'widget_meta_poweredby', sprintf( '<li><a href="%s" title="%s">%s</a></li>',
65                     esc_url( __( 'https://wordpress.org/' ) ),
66                     esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ),
67                     _x( 'WordPress.org', 'meta widget link text' )
68                ) );
69
70                wp_meta();
71                ?>
72                </ul>
73                <?php