Bulk Order Cancelled In WooCommerce
add_filter( ‘bulk_actions-edit-shop_order’, ‘wdo_register_bulk_action’ ); // edit-shop_order is the screen ID of the orders page function wdo_register_bulk_action( $bulk_actions ) { $bulk_actions[‘mark_cancel_order’] = ‘Mark Order Cancel’; // Mark Cancel Order return $bulk_actions; } add_action( ‘admin_action_mark_cancel_order’, ‘wdo_bulk_process_custom_status’ ); // admin_action_{action name} function wdo_bulk_process_custom_status()…