Thread Starter
jlang1
(@jlang1)
Perfect:
$aelia_euva = Aelia\WC\EU_VAT_Assistant\WC_Aelia_EU_VAT_Assistant::instance();
remove_action('woocommerce_checkout_billing', array($aelia_euva, 'woocommerce_checkout_billing'), 40,1);
add_action('woocommerce_after_checkout_billing_form', array($aelia_euva, 'woocommerce_checkout_billing'), 40,1);
And it´s on the right position!
Thread Starter
jlang1
(@jlang1)
Want to move it from woocommerce_checkout_billing to woocommerce_after_checkout_billing_form because it lays before “create accout”
Usually I use:
remove_action(‘woocommerce_checkout_billing’,’thisfunction’,40);
add_action(‘woocommerce_after_checkout_billing_form’,”thisfunction’,20);
But don´t know how to remove: “Aelia\WC\EU_VAT_Assistant\WC_Aelia_EU_VAT_Assistant–>woocommerce_checkout_billing”