W3cubDocs

/WordPress

do_action( 'quick_edit_custom_box', string $column_name, string $post_type, string $taxonomy )

Fires once for each column in Quick Edit mode.

Parameters

$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.

More Information

quick_edit_custom_box is an action that lets a plugin print inputs for custom columns when quick editing. This action is called one time for each custom column. Custom columns are added with the manage_{$post_type}_posts_columns filter. To save the data from the custom inputs, hook the save_post action.

Source

File: wp-admin/includes/class-wp-posts-list-table.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/quick_edit_custom_box