Astra_Woocommerce::woocommerce_checkout()
Checkout customization.
Description
Return
(void)
Source
File: inc/compatibility/woocommerce/class-astra-woocommerce.php
public function woocommerce_checkout() { if ( is_admin() ) { return; } if ( ! apply_filters( 'astra_woo_shop_product_structure_override', false ) ) { /** * Checkout Page */ add_action( 'woocommerce_checkout_billing', array( WC()->checkout(), 'checkout_form_shipping' ) ); } // Checkout Page. remove_action( 'woocommerce_checkout_shipping', array( WC()->checkout(), 'checkout_form_shipping' ) ); }
Expand full source code Collapse full source code View on Trac