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
1510
1511                     /**
1512                      * Fires once for each column in Quick Edit mode.
1513                      *
1514                      * @since 2.7.0
1515                      *
1516                      * @param string  $column_name Name of the column to edit.
1517                      * @param WP_Post $post_type   The post type slug.
1518                      */
1519                     do_action( 'quick_edit_custom_box', $column_name, $screen->post_type );
1520                }
1521
1522           }
1523      ?>
1524           <p class="submit inline-edit-save">
1525                <button type="button" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></button>
1526                <?php if ( ! $bulk ) {
1527                     wp_nonce_field( 'inlineeditnonce', '_inline_edit', false );
1528                     ?>