Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: quick_edit_dropdown_pages_args

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
1047
1048 <?php if ( $is_page ) : ?>
1049
1050           <label>
1051                <span class="title"><?php _e( 'Parent' ); ?></span>
1052 <?php
1053      $dropdown_args = array('selected' => $post->post_parent, 'name' => 'post_parent', 'show_option_none' => __('Main Page (no parent)'), 'option_none_value' => 0, 'sort_column'=> 'menu_order, post_title');
1054      if ( $bulk )
1055           $dropdown_args['show_option_no_change'] =  __('- No Change -');
1056      $dropdown_args = apply_filters('quick_edit_dropdown_pages_args', $dropdown_args);
1057      wp_dropdown_pages($dropdown_args);
1058 ?>
1059           </label>
1060
1061 <?php     if ( !$bulk ) : ?>
1062
1063           <label>
1064                <span class="title"><?php _e( 'Order' ); ?></span>
1065                <span class="input-text-wrap"><input type="text" name="menu_order" class="inline-edit-menu-order-input" value="<?php echo $post->menu_order ?>" /></span>