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 |
|---|---|
| 106 | <p class="youare"> |
| 107 | <?php printf( __( 'You are using %1$s theme with %2$s.' ), $ct->title, $widgets_text ); ?> |
| 108 | <?php if ( $can_switch_themes ) : ?> |
| 109 | <a href="themes.php" class="rbutton"><?php _e('Change Theme'); ?></a> |
| 110 | <?php endif; ?> |
| 111 | <?php update_right_now_message(); ?> |
| 112 | </p> |
| 113 | |
| 114 | <?php do_action( 'rightnow_end' ); ?> |
| 115 | <?php do_action( 'activity_box_end' ); ?> |
| 116 | </div><!-- rightnow --> |
| 117 | |
| 118 | <br class="clear" /> |
| 119 | |
| 120 | <div id="dashboard-widgets-wrap"> |
| 121 | |
| 122 | <?php wp_dashboard(); ?> |
| 123 | |
| 124 | |