quick_edit_custom_box action-hookWP 2.7.0

Fires once for each column in Quick Edit mode.

Usage

add_action( 'quick_edit_custom_box', 'wp_kama_quick_edit_custom_box_action', 10, 3 );

/**
 * Function for `quick_edit_custom_box` action-hook.
 * 
 * @param string $column_name Name of the column to edit.
 * @param string $post_type   The post type slug, or current screen name if this is a taxonomy list table.
 * @param string $taxonomy    The taxonomy name, if any.
 *
 * @return void
 */
function wp_kama_quick_edit_custom_box_action( $column_name, $post_type, $taxonomy ){

	// action...
}
$column_name(string)
Name of the column to edit.
$post_type(string)
The post type slug, or current screen name if this is a taxonomy list table.
$taxonomy(string)
The taxonomy name, if any.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

WP_Posts_List_Table::inline_edit()
quick_edit_custom_box
WP_Terms_List_Table::inline_edit()
quick_edit_custom_box
wp-admin/includes/class-wp-posts-list-table.php 2025
do_action( 'quick_edit_custom_box', $column_name, $screen->post_type, '' );
wp-admin/includes/class-wp-terms-list-table.php 691
do_action( 'quick_edit_custom_box', $column_name, 'edit-tags', $this->screen->taxonomy );

Where the hook is used in WordPress

Usage not found.