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 |
---|---|
215 | ?> |
216 | <?php |
217 | } |
218 | meta_form(); |
219 | ?> |
220 | </div> |
221 | <div id="ajax-response"></div> |
222 | </fieldset> |
223 |
|
224 | <?php do_action('dbx_page_advanced'); ?> |
225 |
|
226 | </div> |
227 |
|
228 | <?php if ('edit' == $action) : |
229 | $delete_nonce = wp_create_nonce( 'delete-page_' . $post_ID ); ?> |
230 | <input name="deletepost" class="button" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"if ( confirm('" . sprintf(__("You are about to delete this page \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), js_escape($post->post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> |
231 | <?php endif; ?> |
232 | </div> |
233 |
|