woocommerce_is_attribute_in_product_name хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_is_attribute_in_product_name', 'wp_kama_woocommerce_is_attribute_in_product_name_filter', 10, 3 );

/**
 * Function for `woocommerce_is_attribute_in_product_name` filter-hook.
 * 
 * @param  $is_in_name 
 * @param  $attribute  
 * @param  $name       
 *
 * @return 
 */
function wp_kama_woocommerce_is_attribute_in_product_name_filter( $is_in_name, $attribute, $name ){

	// filter...
	return $is_in_name;
}
$is_in_name
-
$attribute
-
$name
-

Где вызывается хук

wc_is_attribute_in_product_name()
woocommerce_is_attribute_in_product_name
woocommerce/includes/wc-attribute-functions.php 406
return apply_filters( 'woocommerce_is_attribute_in_product_name', $is_in_name, $attribute, $name );

Где используется хук в WooCommerce

Использование не найдено.