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 :: carbon add and subtract 
Php :: update checkbox value in laravel 
Php :: find value in array php 
Php :: aws sdk php 
Php :: laravel model set new attribute 
Php :: how simple get ip address json 
Php :: php isset form submit 
Php :: wordpress rename post format 
Php :: debian install php 
Php :: laravel Form::hidden 
Php :: php mail template 
Php :: withsuccess laravel 8 
Php :: PHP | Send Attachment With Email 
Php :: create weekly calendar in php 
Php :: set_magic_quotes_runtime php 7 
Php :: Getting the closest string match using php 
Php :: laravel has many with ids 
Php :: laravel 8 validation unique 2 columns 
Php :: PHP 2-Dimentional array 
Php :: laravel copy row 
Php :: how to create foreign key in laravel 
Php :: saving an image from pc to php 
Php :: spaceship operator 
Php :: php aes 
Php :: inverse hyperbolic cosine php 
Php :: laravel how can I use the same foreign key twice in a single table 
Php :: PHP Ternary Operator With Elseif Example 
Php :: php my admin on linux 
Php :: defining constant in config laravel 
Php :: laravel route pattern 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =