woocommerce_reset_variations_link

woocommerce_reset_variations_link

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_reset_variations_link') is found 1 times:

  • /templates/single-product/add-to-cart/variable.php line 48
    										'attribute' => $attribute_name,
    										'product'   => $product,
    									)
    								);
    								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>' ) ) : '';
    							?>
    						</td>
    					</tr>
    				<?php endforeach; ?>
    			</tbody>
    		</table>