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
853                'selected'          => $post->post_parent,
854                'name'              => 'post_parent',
855                'show_option_none'  => __( 'Main Page (no parent)' ),
856                'option_none_value' => 0,
857                'sort_column'       => 'menu_order, post_title',
858           );
859
860           if ( $bulk )
861                $dropdown_args['show_option_no_change'] =  __( '— No Change —' );
862           $dropdown_args = apply_filters( 'quick_edit_dropdown_pages_args', $dropdown_args );
863           wp_dropdown_pages( $dropdown_args );
864      ?>
865                </label>
866
867      <?php
868                endif; // hierarchical
869
870                if ( !$bulk ) : ?>
871