Is it possible to vardump the variable inside the action function? i am not able to echo or see results when i am doing so.
This is not a woo commerce question but i am having problems with
add_action(‘woocommerce_order_status_changed’,’wc_order_uppdate_to_cancelled_status’, 20, 4);
Read more here:: How to use var_dump() when using actions?