woocommerce_before_variations_table

woocommerce_before_variations_table

Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.9.3

do_action('woocommerce_before_variations_table') is found 1 times:

  • /src/Blocks/BlockTypes/AddToCartWithOptionsVariationSelector.php line 227
    		 * Action hook to add content before the variations table.
    		 *
    		 * @since 9.7.0
    		 */
    		do_action( 'woocommerce_before_variations_table' );
    		$before_table = ob_get_clean();
    
    		$table = '<table class="variations" cellspacing="0" role="presentation"><tbody>';
    
    		foreach ( $variation_attributes as $attribute_name => $options ) {
    			$table .= $this->get_variation_row( $product, $attribute_name, $options );