Search
 
SCRIPT & CODE EXAMPLE
 

PHP

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' )
Comment

how hide empty category wordpress woocommerce

function woo_hide_product_categories_widget( $list_args ){

            $list_args[ 'hide_empty' ] = 1;

            return $list_args;

}

add_filter( 'woocommerce_product_categories_widget_args', 'woo_hide_product_categories_widget' )
Comment

PREVIOUS NEXT
Code Example
Php :: add controller to laravel with requests 
Php :: where with and and or in a laravel 
Php :: php array_intersect 
Php :: grouping routes based on controller 
Php :: php var use in javascript 
Php :: php sort array by value 
Php :: laravel update all relations 
Php :: where condition in array in codeigniter 
Php :: laravel form 
Php :: wp image size names 
Php :: php mysql insert timestamp now 
Php :: Laravel: Set timestamp column to current timestamp 
Php :: php decode json object 
Php :: autoload_namespaces.php failed to open stream: Permission denied 
Php :: laravel check if email is real 
Php :: laravel collection has 
Php :: what does defined do in php 
Php :: pdf to image php 
Php :: maintenance mode laravel 
Php :: autoload file in laravel 
Php :: how to acces sql with php 
Php :: laravel password require one letter and one number 
Php :: php path in ubuntu 
Php :: replace string in php 
Php :: laravel upload file to aws s3 
Php :: laravel middleware in constructor 
Php :: all resource routes laravel 8 
Php :: validation laravel 
Php :: {{count laravel 
Php :: job with queue name in laravel 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =