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 |
|---|---|
| 1284 | } else { |
| 1285 | ?> |
| 1286 | <div class="post-taken-over"> |
| 1287 | <div class="post-locked-avatar"></div> |
| 1288 | <p class="wp-tab-first" tabindex="0"> |
| 1289 | <span class="currently-editing"></span><br> |
| 1290 | <span class="locked-saving hidden"><img src="images/wpspin_light-2x.gif" width="16" height="16" /> <?php _e('Saving revision...'); ?></span> |
| 1291 | <span class="locked-saved hidden"><?php _e('Your latest changes were saved as a revision.'); ?></span> |
| 1292 | </p> |
| 1293 | <?php do_action( 'post_lock_lost_dialog', $post ); ?> |
| 1294 | <p><a class="button button-primary wp-tab-last" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a></p> |
| 1295 | </div> |
| 1296 | <?php |
| 1297 | } |
| 1298 | |
| 1299 | ?> |
| 1300 | </div> |
| 1301 | </div> |
| 1302 | <?php |