skip to Main Content

Woocommerce – WordPress cron – event added to queue but not firing

I am trying to hook into the woocommerce_order_status_changed action and add a single event to the wp cron to execute immediately (so that the request-response cycle is not blocked): add_action('woocommerce_order_status_changed', 'on_new_status', 10, 3); add_action('send_new_status_custom_hook', 'logic_on_new_status', 10, 2); function on_new_status($order_id, $from,…

VIEW QUESTION
Back To Top
Search