woocommerce_attribute_label хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_attribute_label', 'filter_function_name_1707', 10, 3 ); function filter_function_name_1707( $label, $name, $product ){ // filter... return $label; }
- $label
- -
- $name
- -
- $product
- -
Где вызывается хук
woocommerce_attribute_label
woocommerce/includes/wc-attribute-functions.php 211
return apply_filters( 'woocommerce_attribute_label', $label, $name, $product );
Где используется хук в ядре WooCommerce
woocommerce/includes/wc-attribute-functions.php 44
add_filter( 'woocommerce_attribute_label', 'wp_kses_post', 100 );