Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: dbx_page_advanced

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
173
174 </table>
175 <?php
176      meta_form();
177 ?>
178 </div>
179 <div id="ajax-response"></div>
180 </fieldset>
181
182 <?php do_action('dbx_page_advanced'); ?>
183
184 </div>
185
186 <?php if ('edit' == $action) :
187      $delete_nonce = wp_create_nonce( 'delete-page_' . $post_ID );
188      if ( current_user_can('delete_page', $post->ID) ) ?>
189           <input name="deletepost" class="button delete" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"if ( confirm('" . js_escape(sprintf(__("You are about to delete this page '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> />
190 <?php endif; ?>
191 </div>