• Resolved rasidrsd

    (@rasidrsd)


    Hey guys,

    does anyone know, what Hook I can use to call a function, when the “Save Order” Button in the WooCommerce Admin Panel (Orders – Order Number xyz) is clicked?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Have a look at https://hookr.io/plugin to get a visual reference list of hooks used on any given page.

    Thread Starter rasidrsd

    (@rasidrsd)

    Thanks for the quick reply.

    It seems that the website you suggested is not reachable….

    Thread Starter rasidrsd

    (@rasidrsd)

    I found it.
    It’s woocommerce_order_actions_end.

    I used the Plugin ‘Simply Show Hooks’

    Just found this when trying to search an answer to the exact same question.

    rasidrsd, I think woocommerce_order_actions_end hook is triggered after outputting the Order Actions metabox on top right corner of the screen, not when pressing the Save button.

    Looks like that woocommerce_process_shop_order_meta will do the trick and triggers when Admin saves an order. Need to test it later though.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Save Order” Hook’ is closed to new replies.