woocommerce_order_actions

This hook, used to add a new order action in Order list of woocommerce. Using this hook we can add a new action in “Order Action” in Orders .

add_action( ‘woocommerce_order_actions’, ‘custom_order_action’ );

function custom_order_action($actions)

{

$actions[‘shipped’] = __( ‘Shipped’, ‘wp’);

return $actions;

}