Automattic\WooCommerce\Blocks\AI

Configuration::unregister_site()privateWC 1.0

Unregister the site with Jetpack.

Method of the class: Configuration{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Configuration::unregister_site() code WC 9.0.1

private function unregister_site() {
	if ( $this->manager->is_connected() ) {
		$this->manager->remove_connection();
	}
}