woocommerce_reset_variations_link хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_reset_variations_link', 'filter_function_name_6753' ); function filter_function_name_6753( $html ){ // filter... return $html; }
- $html
- -
Где вызывается хук
woocommerce_reset_variations_link
woocommerce/templates/single-product/add-to-cart/variable.php 48
echo end( $attribute_keys ) === $attribute_name ? wp_kses_post( apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#">' . esc_html__( 'Clear', 'woocommerce' ) . '</a>' ) ) : '';