wc_product_post_type_link_product_cat filter-hookWC 1.0

Usage

add_filter( 'wc_product_post_type_link_product_cat', 'wp_kama_wc_product_post_type_link_cat_filter', 10, 3 );

/**
 * Function for `wc_product_post_type_link_product_cat` filter-hook.
 * 
 * @param  $terms[0] 
 * @param  $terms    
 * @param  $post     
 *
 * @return 
 */
function wp_kama_wc_product_post_type_link_cat_filter( $terms[0], $terms, $post ){

	// filter...
	return $terms[0];
}
$terms[0]
-
$terms
-
$post
-

Where the hook is called

wc_product_post_type_link()
wc_product_post_type_link_product_cat
woocommerce/includes/wc-product-functions.php 236
$category_object = apply_filters( 'wc_product_post_type_link_product_cat', $terms[0], $terms, $post );

Where the hook is used in WooCommerce

Usage not found.