Home Forums WoodMart support forum Product Page – edits Reply To: Product Page – edits

#131658

newK9
Participant

Hi. I’ve hidden a category in the woocommerce sidebar widget using this code.

add_filter( 'woocommerce_product_categories_widget_args', 'organicweb_exclude_widget_category' );
function organicweb_exclude_widget_category( $args ) {
        $args['exclude'] = array('30' );
        return $args;
}

Yet I’m struggling to work out how to remove/hide one specific category from appearing in the category meta section on a product page.