You appear to be a bot. Output may be restricted
Description
Cancel an existing action whether migrated or not.
Usage
ActionScheduler_HybridStore::cancel_action( $action_id );
Parameters
- $action_id
- ( int ) required – Action ID.
Returns
void
Source
File name: woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php
Lines:
1 to 7 of 7
public function cancel_action( $action_id ) { $store = $this->get_store_from_action_id( $action_id ); if ( $store ) { $store->cancel_action( $action_id ); } }