None of these examples work. :( Share.
Examples#
The following example is for adding a hook callback. // define the ...
But it is not working. Can anybody please help me using code sample. Share.
So below is our complete example code:.
[This thread is closed.] Hello. I have this line of code in my plugin: add_action( ' woocommerce_order_status_completed',…
Here is a Gist with sample code:
In this example, we use a hook to call a function when an order status is changed ... woocommerce_order_status_completed action hook not working , I am ...
From my sample code I showed, I am dumping the order postmeta to the ...
I saw the example code below but I dont know where should I put it.