quick_edit_show_taxonomy filter-hook . WP 4.2.0
Filters whether the current taxonomy should be shown in the Quick Edit panel.
Usage
add_filter( 'quick_edit_show_taxonomy', 'filter_function_name_7693', 10, 3 ); function filter_function_name_7693( $show_in_quick_edit, $taxonomy_name, $post_type ){ // filter... return $show_in_quick_edit; }
- $show_in_quick_edit(true/false)
- Whether to show the current taxonomy in Quick Edit.
- $taxonomy_name(string)
- Taxonomy name.
- $post_type(string)
- Post type of current Quick Edit post.
Changelog
Since 4.2.0 | Introduced. |
Where the hook is called
quick_edit_show_taxonomy
quick_edit_show_taxonomy
wp-admin/includes/class-wp-posts-list-table.php 1490
if ( ! apply_filters( 'quick_edit_show_taxonomy', $show_in_quick_edit, $taxonomy_name, $screen->post_type ) ) {
wp-admin/includes/ajax-actions.php 2057
if ( ! apply_filters( 'quick_edit_show_taxonomy', $tax_object->show_in_quick_edit, $taxonomy, $post['post_type'] ) ) {