Automattic\WooCommerce\Admin\Marketing

MarketingChannels::unregister_all()publicWC 1.0

Unregisters all marketing channels.

Method of the class: MarketingChannels{}

No Hooks.

Return

null. Nothing (null).

Usage

$MarketingChannels = new MarketingChannels();
$MarketingChannels->unregister_all(): void;

MarketingChannels::unregister_all() code WC 9.0.1

public function unregister_all(): void {
	unset( $this->registered_channels );
}