woocommerce_order_status_changed not working at all
-
Hello all. I’m getting into hooks& actions and generally work through problems. However with this one I’m pretty stuck as the hook doesn’t seem to work at all.
In my functons.php:
function my_function() { debug_to_console ("Order Status Changed"); }; add_action( 'woocommerce_order_status_changed', 'my_function', 10, 0 );
…and nothing happens when changing the status in the Woocommerce/orders admin page. Any thoughts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘woocommerce_order_status_changed not working at all’ is closed to new replies.