woocommerce_product_subcategories_hide_empty filter-hookWC 1.0

Usage

add_filter( 'woocommerce_product_subcategories_hide_empty', 'wp_kama_woocommerce_product_subcategories_hide_empty_filter' );

/**
 * Function for `woocommerce_product_subcategories_hide_empty` filter-hook.
 * 
 * @param  $true 
 *
 * @return 
 */
function wp_kama_woocommerce_product_subcategories_hide_empty_filter( $true ){

	// filter...
	return $true;
}
$true
-

Where the hook is called

woocommerce_get_product_subcategories()
woocommerce_product_subcategories_hide_empty
woocommerce/includes/wc-template-functions.php 2616
if ( apply_filters( 'woocommerce_product_subcategories_hide_empty', true ) ) {

Where the hook is used in WooCommerce

Usage not found.