WC_Admin_List_Table_Orders::define_bulk_actions( array $actions )
Define bulk actions.
Description Description
Parameters Parameters
- $actions
-
(Required) Existing actions.
Return Return
(array)
Source Source
File: includes/admin/list-tables/class-wc-admin-list-table-orders.php
public function define_bulk_actions( $actions ) { if ( isset( $actions['edit'] ) ) { unset( $actions['edit'] ); } $actions['mark_processing'] = __( 'Change status to processing', 'woocommerce' ); $actions['mark_on-hold'] = __( 'Change status to on-hold', 'woocommerce' ); $actions['mark_completed'] = __( 'Change status to completed', 'woocommerce' ); if ( wc_string_to_bool( get_option( 'woocommerce_allow_bulk_remove_personal_data', 'no' ) ) ) { $actions['remove_personal_data'] = __( 'Remove personal data', 'woocommerce' ); } return $actions; }