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 |
---|---|
121 | $widgets_text = "<a href='widgets.php'>$widgets_text</a>"; |
122 | ?> |
123 | <p class="youare"> |
124 | <?php printf( __( 'You are using the %1$s theme with %2$s.' ), $ct->title, $widgets_text ); ?> |
125 | <?php if ( $can_switch_themes ) : ?> |
126 | <a href="themes.php" class="rbutton"><?php _e('Change Theme'); ?></a> |
127 | <?php endif; ?> |
128 | <?php update_right_now_message(); ?> |
129 | </p> |
130 | <?php do_action( 'rightnow_end' ); ?> |
131 | <?php do_action( 'activity_box_end' ); ?> |
132 | </div><!-- rightnow --> |
133 |
|
134 | <br class="clear" /> |
135 |
|
136 | <div id="dashboard-widgets-wrap"> |
137 |
|
138 | <?php wp_dashboard(); ?> |
139 |
|