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 |
|---|---|
| 1307 | } else { |
| 1308 | ?> |
| 1309 | <div class="post-taken-over"> |
| 1310 | <div class="post-locked-avatar"></div> |
| 1311 | <p class="wp-tab-first" tabindex="0"> |
| 1312 | <span class="currently-editing"></span><br> |
| 1313 | <span class="locked-saving hidden"><img src="images/wpspin_light-2x.gif" width="16" height="16" /> <?php _e('Saving revision...'); ?></span> |
| 1314 | <span class="locked-saved hidden"><?php _e('Your latest changes were saved as a revision.'); ?></span> |
| 1315 | </p> |
| 1316 | <?php do_action( 'post_lock_lost_dialog', $post ); ?> |
| 1317 | <p><a class="button button-primary wp-tab-last" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a></p> |
| 1318 | </div> |
| 1319 | <?php |
| 1320 | } |
| 1321 | |
| 1322 | ?> |
| 1323 | </div> |
| 1324 | </div> |
| 1325 | <?php |