← All changes
|
app/Hooks/Handlers/BlockEditors/Checkout/InnerBlocks/InnerBlocks.php
+2
-0
1.6.2
→
1.7.1
View file →
| @@ -698,13 +698,15 @@ | ||
| 698 | 698 | 'class' => 'fct_checkout_payment_methods', |
| 699 | 699 | 'data-fluent-cart-checkout-payment-methods' => '' |
| 700 | 700 | ]); |
| 701 | 701 | ob_start(); ?> |
| 702 | + <?php do_action('fluent_cart/before_payment_methods', ['cart' => $cart]); ?> | |
| 702 | 703 | <div <?php echo $atts; ?>> |
| 703 | 704 | <?php |
| 704 | 705 | (new CheckoutRenderer($cart))->renderPaymentMethods(); |
| 705 | 706 | ?> |
| 706 | 707 | </div> |
| 708 | + <?php do_action('fluent_cart/after_payment_methods', ['cart' => $cart]); ?> | |
| 707 | 709 | <?php |
| 708 | 710 | return ob_get_clean(); |
| 709 | 711 | } |
| 710 | 712 | |