Order status change hook

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 2 reply threads
  • Author
    Posts
    • #116078
      shohrat
      Participant

      Hello,
      I am using woocommerce save_post hook for sending push notification on order status change.

      add_action( ‘save_post’, ‘send_push_notification_on_update_order_status’, 10, 3 );

      How to send push notification when admin changing order status from WCFM admin dashboard?

      please help!

    • #116273

      Hello,

      You can use below hook,

      add_action('wcfm_order_status_updated','send_push_notification_on_update_order_status',10,2);
      function send_push_notification_on_update_order_status($orderid, $order_status) {
      	/*add your code*/
      }

      Thanks.

    • #116496
      shohrat
      Participant

      Thank you!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.