Add a new field to the checkout; Add that new field to the order.
Action and Filter Hook Reference. This is simply a list of
The hooks that are displayed below the order form · woocommerce_checkout_order_review · woocommerce_review_order_before_payment ...
Update 2 Only For Woocommerce 3+ (added restriction to execute the code only once). add_action('woocommerce_thankyou', 'enroll_student' ...
For this three possibilities: If you really want to do it on order place you would have to use the hook: woocommerce_new_order. However I ...
The WordPress Hooks Firing Sequence! How to intercept post publishing based on post meta · How to get WooCommerce Category Info with an ...
Detecting Order Complete and performing an action on order complete in WooCommerce need not be complicated! Detect any order status easily with actions.
Add the Action to the List. Adding a WooCommerce custom order action is pretty straight-forward. The woocommerce_order_actions filter gives us ...
Stumbled on this looking for the same thing which I've now figured out ( Woocommerce 3.x)... add_filter( ...
How to customize WooCommerce and add your own items to the Order Action drop-down list in the top right metabox of the WooCommerce edit ...