WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_ListTable::get_bulk_actions() protected WC 1.0

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.

{} It's a method of the class: ActionScheduler_Abstract_ListTable{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_bulk_actions();

Code of ActionScheduler_Abstract_ListTable::get_bulk_actions() WC 6.1.1

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 ] = $label;
	}

	return $actions;
}