Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: quick_edit_custom_box

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
1036                </div>
1037           </div></fieldset>
1038
1039      <?php
1040           list( $columns ) = $this->get_column_info();
1041
1042           foreach ( $columns as $column_name => $column_display_name ) {
1043                if ( isset( $core_columns[$column_name] ) )
1044                     continue;
1045                do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $screen->post_type );
1046           }
1047      ?>
1048           <p class="submit inline-edit-save">
1049                <a accesskey="c" href="#inline-edit" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>
1050                <?php if ( ! $bulk ) {
1051                     wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
1052                     ?>
1053                     <a accesskey="s" href="#inline-edit" class="button-primary save alignright"><?php _e( 'Update' ); ?></a>
1054                     <span class="spinner"></span>