diff --git a/includes/admin/list-tables/class-wc-admin-list-table-orders.php b/includes/admin/list-tables/class-wc-admin-list-table-orders.php index eca4550cb86..612aac9dfd7 100644 --- a/includes/admin/list-tables/class-wc-admin-list-table-orders.php +++ b/includes/admin/list-tables/class-wc-admin-list-table-orders.php @@ -623,7 +623,7 @@ class WC_Admin_List_Table_Orders extends WC_Admin_List_Table { * @return string */ public function handle_bulk_actions( $redirect_to, $action, $ids ) { - $ids = array_map( 'absint', $ids ); + $ids = apply_filters( 'woocommerce_bulk_action_ids', array_reverse( array_map( 'absint', $ids ) ), $action, 'order' ); $changed = 0; if ( 'remove_personal_data' === $action ) {