Automattic\WooCommerce\Admin\Marketing

MarketingChannels::unregister_all()publicWC 1.0

Unregisters all marketing channels.

Метод класса: MarketingChannels{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код MarketingChannels::unregister_all() WC 9.0.2

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