Automattic\WooCommerce\Admin\Marketing
MarketingChannelInterface::get_errors_count()
Returns the number of channel issues/errors (e.g. account-related errors, product synchronization issues, etc.).
Метод класса: MarketingChannelInterface{}
Хуков нет.
Возвращает
int
. The number of issues to resolve, or 0 if there are no issues with the channel.
Использование
$MarketingChannelInterface = new MarketingChannelInterface(); $MarketingChannelInterface->get_errors_count(): int;
Код MarketingChannelInterface::get_errors_count() MarketingChannelInterface::get errors count WC 9.3.3
public function get_errors_count(): int;