Answers for "how hide empty category woocommerce wordpress"

0

how hide empty category woocommerce wordpress

function hide_empty_category( $arg ){

            $arg[ 'hide_empty' ] = 1;

            return $arg;

}

add_filter( 'woocommerce_product_categories_widget_args', 'hide_empty_category' )
Posted by: Guest on August-16-2021

Code answers related to "how hide empty category woocommerce wordpress"

Browse Popular Code Answers by Language