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
1912                          /**
1913                           * Fires once for each column in Quick Edit mode.
1914                           *
1915                           * @since 2.7.0
1916                           *
1917                           * @param string $column_name Name of the column to edit.
1918                           * @param string $post_type   The post type slug, or current screen name if this is a taxonomy list table.
1919                           * @param string $taxonomy    The taxonomy name, if any.
1920                           */
1921                          do_action( 'quick_edit_custom_box', $column_name, $screen->post_type, '' );
1922                     }
1923                }
1924                ?>
1925
1926                <div class="submit inline-edit-save">
1927                     <button type="button" class="button cancel alignleft"><?php _e( 'Cancel' ); ?></button>
1928
1929                     <?php if ( ! $bulk ) : ?>
1930                          <?php wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); ?>