Automattic\WooCommerce\Blocks\Patterns
PTKPatternsStore::ensure_recurring_fetch_patterns_if_enabled
Cancel old fetch pattern actions. This is called by the action_scheduler_ensure_recurring_actions
Method of the class: PTKPatternsStore{}
No Hooks.
Returns
void. Nothing (null).
Usage
$PTKPatternsStore = new PTKPatternsStore(); $PTKPatternsStore->ensure_recurring_fetch_patterns_if_enabled();
PTKPatternsStore::ensure_recurring_fetch_patterns_if_enabled() PTKPatternsStore::ensure recurring fetch patterns if enabled code WC 11.3.0
public function ensure_recurring_fetch_patterns_if_enabled() {
$this->cancel_fetch_patterns_when_ready();
}