product_cat_class filter-hookWC 1.0

Usage

add_filter( 'product_cat_class', 'wp_kama_product_cat_class_filter', 10, 3 );

/**
 * Function for `product_cat_class` filter-hook.
 * 
 * @param  $classes  
 * @param  $class    
 * @param  $category 
 *
 * @return 
 */
function wp_kama_product_cat_class_filter( $classes, $class, $category ){

	// filter...
	return $classes;
}
$classes
-
$class
-
$category
-

Where the hook is called

wc_get_product_cat_class()
product_cat_class
woocommerce/includes/wc-template-functions.php 503
$classes   = apply_filters( 'product_cat_class', $classes, $class, $category );

Where the hook is used in WooCommerce

Usage not found.