woocommerce_admin_order_actions_start
Fires before the order action buttons (within the actions column for the order list table) are registered.
Usage
add_action( 'woocommerce_admin_order_actions_start', 'wp_kama_woocommerce_admin_order_actions_start_action' ); /** * Function for `woocommerce_admin_order_actions_start` action-hook. * * @param WC_Order $order Current order object. * * @return void */ function wp_kama_woocommerce_admin_order_actions_start_action( $order ){ // action... }
- $order(WC_Order)
- Current order object.
Changelog
Since 6.7.0 | Introduced. |
Where the hook is called
woocommerce_admin_order_actions_start
woocommerce/src/Internal/Admin/Orders/ListTable.php 1210
do_action( 'woocommerce_admin_order_actions_start', $order );