Automattic\WooCommerce\Internal\Admin\Schedulers

MailchimpScheduler::reset()public staticWC 1.0

Reset options.

Method of the class: MailchimpScheduler{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = MailchimpScheduler::reset();

MailchimpScheduler::reset() code WC 9.4.2

public static function reset() {
	delete_option( self::SUBSCRIBED_OPTION_NAME );
	delete_option( self::SUBSCRIBED_ERROR_COUNT_OPTION_NAME );
}