[wp-trac] [WordPress Trac] #55144: Taxonomies with `show_in_quick_edit => false` are displayed in the `get_inline_data` template function

WordPress Trac noreply at wordpress.org
Fri Feb 11 14:32:22 UTC 2022


#55144: Taxonomies with `show_in_quick_edit => false` are displayed in the
`get_inline_data` template function
--------------------------+------------------------------
 Reporter:  ovidiul       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by ovidiul):

 Also, I am adding the `woocommerce_taxonomy_args_product_cat` filter to
 set the ''product_cat'' `show_in_quick_edit => false`:


 {{{#!php
 <?php
 add_filter( 'woocommerce_taxonomy_args_product_cat', function( $args ) {
         $args['show_in_quick_edit'] = false;
         return $args;
 } );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55144#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list