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