WordPress at Your Fingertips
function is not described

ActionScheduler_Store::bulk_cancel_actions() private WC 3.0.0

Cancel a set of action IDs.

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

Hooks from the method

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->bulk_cancel_actions( $action_ids );
$action_ids(array) (required)
List of action IDs.

Changelog

Since 3.0.0 Introduced.

Code of ActionScheduler_Store::bulk_cancel_actions() WC 6.1.1

private function bulk_cancel_actions( $action_ids ) {
	foreach ( $action_ids as $action_id ) {
		$this->cancel_action( $action_id );
	}

	do_action( 'action_scheduler_bulk_cancel_actions', $action_ids );
}