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.
| Line | Code |
|---|---|
| 309 | echo $before_widget; |
| 310 | if ( $title ) |
| 311 | echo $before_title . $title . $after_title; |
| 312 | ?> |
| 313 | <ul> |
| 314 | <?php wp_register(); ?> |
| 315 | <li><?php wp_loginout(); ?></li> |
| 316 | <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php echo esc_attr(__('Syndicate this site using RSS 2.0')); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> |
| 317 | <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php echo esc_attr(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> |
| 318 | <?php echo apply_filters( 'widget_meta_poweredby', sprintf( '<li><a href="%s" title="%s">%s</a></li>', |
| 319 | esc_url( __( 'http://wordpress.org/' ) ), |
| 320 | esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ), |
| 321 | _x( 'WordPress.org', 'meta widget link text' ) |
| 322 | ) ); ?> |
| 323 | <?php wp_meta(); ?> |
| 324 | </ul> |
| 325 | <?php |
| 326 | echo $after_widget; |
| 327 | } |