Checkout Hooks not more working
-
Hello, I have the problem that on a freshly installed WordPress website (without additional plugins) the hooks for the checkout page simply don’t work.
As I said, I have freshly installed WordPress (latest version) and WooCommerce (latest version). No other plugins. And then tried out the standard themes like Twentyfour etc. None of the known hooks worked.
I tried this hook:
– woocommerce_before_checkout_form
– woocommerce_after_checkout_billing_form
– woocommerce_after_checkout_shipping_form
– and moreI can try what i want, and every Hook what i know – its not working. I was trying it with like:
// Funktion für das Demo-Echo
function mein_demo_echo() {
echo ‘Dies ist ein Demo-Echo auf der Checkout-Seite!’;
}// Hook vor dem Checkout-Billing-Formular hinzufügen
add_action(‘woocommerce_before_checkout_form’, ‘mein_demo_echo’, 10);
What i do wrong? Its a fresh installed WordPress Version without changes and the Hooks not working? With Php 8.1 and Php 8.2. I was trying 2 different Domains and Webhostings. Is the Hooks changed?
- The topic ‘Checkout Hooks not more working’ is closed to new replies.