Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders\WooPayments

WooPaymentsService::clear_onboarding_lockprivateWC 1.0

Unlock the onboarding.

Method of the class: WooPaymentsService{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->clear_onboarding_lock(): void;

WooPaymentsService::clear_onboarding_lock() code WC 10.8.1

private function clear_onboarding_lock(): void {
	// We update rather than delete the option for performance reasons.
	$this->proxy->call_function( 'update_option', self::NOX_ONBOARDING_LOCKED_KEY, 0, false );
}