woocommerce_add_to_cart_with_options_html

woocommerce_add_to_cart_with_options_html

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_add_to_cart_with_options_html') is found 1 times:

  • /src/Blocks/BlockTypes/AddToCartWithOptions.php line 99
    		 * @since 9.6.0
    		 *
    		 * @param string $content The HTML content for the add to cart with options block.
    		 */
    		$product_html = apply_filters( 'woocommerce_add_to_cart_with_options_html', $content );
    
    		if ( ! $product_html ) {
    			$product = $previous_product;
    
    			return '';
    		}