apply_filters( 'quick_edit_show_taxonomy', bool $show_in_quick_edit, string $taxonomy_name, string $post_type )
- Since
- 4.2.0
Filters whether the current taxonomy should be shown in the Quick Edit panel.
Compatibility
- WordPress
- since 4.2.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$show_in_quick_editbool- Whether to show the current taxonomy in Quick Edit.
$taxonomy_namestring- Taxonomy name.
$post_typestring- Post type of current Quick Edit post.
Where this hook fires · 2
wp-admin/includes/ajax-actions.php:2165wp_ajax_inline_save()wp-admin/includes/class-wp-posts-list-table.php:1744WP_Posts_List_Table::inline_edit()
Source code
* @since 4.2.0 * * @param bool $show_in_quick_edit Whether to show the current taxonomy in Quick Edit. * @param string $taxonomy_name Taxonomy name. * @param string $post_type Post type of current Quick Edit post. */ if ( ! apply_filters( 'quick_edit_show_taxonomy', $show_in_quick_edit, $taxonomy_name, $screen->post_type ) ) { continue; } if ( $taxonomy->hierarchical ) { $hierarchical_taxonomies[] = $taxonomy; } else {Changelog
Introduced in 4.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.