quick_edit_show_taxonomy

過濾鉤子
apply_filters( 'quick_edit_show_taxonomy', $tax_object->show_in_quick_edit, $taxonomy, $post['post_type'] )

quick_edit_show_taxonomy – 這是一個過濾鉤子,允許開發者修改WordPress快速編輯介面中的分類術語的可見性。

這個過濾器在wp-admin/includes/class-wp-posts-list-table.php中有記載。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
if ( ! apply_filters( 'quick_edit_show_taxonomy', $tax_object->show_in_quick_edit, $taxonomy, $post['post_type'] ) ) {
if ( ! apply_filters( 'quick_edit_show_taxonomy', $tax_object->show_in_quick_edit, $taxonomy, $post['post_type'] ) ) {
if ( ! apply_filters( 'quick_edit_show_taxonomy', $tax_object->show_in_quick_edit, $taxonomy, $post['post_type'] ) ) {

常見問題

FAQs
檢視更多 >