WordPress at Your Fingertips
function is not described

ActionScheduler_HybridStore::delete_action() public WC 1.0

Delete an existing action whether migrated or not.

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

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->delete_action( $action_id );
$action_id(int) (required)
Action ID.

Code of ActionScheduler_HybridStore::delete_action() WC 5.5.2

<?php
public function delete_action( $action_id ) {
	$store = $this->get_store_from_action_id( $action_id );
	if ( $store ) {
		$store->delete_action( $action_id );
	}
}