You appear to be a bot. Output may be restricted
Description
Reads $this->bulk_actions
and returns an array that WP_List_Table understands. It also validates that the bulk method handler exists. It throws an exception because this is a library meant for developers and missing a bulk method is a development-time error.
Usage
ActionScheduler_Abstract_ListTable::get_bulk_actions();
Parameters
Returns
void
Source
File name: woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_Abstract_ListTable.php
Lines:
1 to 14 of 14
protected function get_bulk_actions() { $actions = array(); foreach ( $this->bulk_actions as $action => $label ) { if ( ! is_callable( array( $this, 'bulk_' . $action ) ) ) { throw new RuntimeException( "The bulk action $action does not have a callback method" ); } $actions[ $action ] = $this->translate( $label ); } return $actions; }