Automattic\WooCommerce\Internal\Admin\Orders
ListTable::get_bulk_actions()
Retrieves the list of bulk actions available for this table.
{} Это метод класса: ListTable{}
Хуков нет.
Возвращает
Массив
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_bulk_actions();
Код ListTable::get_bulk_actions() ListTable::get bulk actions WC 6.8.0
protected function get_bulk_actions() { $actions = array( 'mark_processing' => __( 'Change status to processing', 'woocommerce' ), 'mark_on-hold' => __( 'Change status to on-hold', 'woocommerce' ), 'mark_completed' => __( 'Change status to completed', 'woocommerce' ), 'mark_cancelled' => __( 'Change status to cancelled', '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; }