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