ActionScheduler_DBStore::cancel_actions_by_hook()
Cancel pending actions by hook.
Method of the class: ActionScheduler_DBStore{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_DBStore = new ActionScheduler_DBStore(); $ActionScheduler_DBStore->cancel_actions_by_hook( $hook );
- $hook(string) (required)
- Hook name.
Changelog
Since 3.0.0 | Introduced. |
ActionScheduler_DBStore::cancel_actions_by_hook() ActionScheduler DBStore::cancel actions by hook code WC 9.3.3
public function cancel_actions_by_hook( $hook ) { $this->bulk_cancel_actions( array( 'hook' => $hook ) ); }