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
426           $core_columns = array( 'cb' => true, 'description' => true, 'name' => true, 'slug' => true, 'posts' => true );
427
428           list( $columns ) = $this->get_column_info();
429
430           foreach ( $columns as $column_name => $column_display_name ) {
431                if ( isset( $core_columns[$column_name] ) )
432                     continue;
433
434                /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */
435                do_action( 'quick_edit_custom_box', $column_name, 'edit-tags', $this->screen->taxonomy );
436           }
437
438      ?>
439
440           <p class="inline-edit-save submit">
441                <a accesskey="c" href="#inline-edit" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a>
442                <a accesskey="s" href="#inline-edit" class="save button-primary alignright"><?php echo $tax->labels->update_item; ?></a>
443                <span class="spinner"></span>
444                <span class="error" style="display:none;"></span>