Automattic\WooCommerce\Internal\StockNotifications\AsyncTasks

NotificationsProcessor::__construct │ public │ WC 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$NotificationsProcessor = new NotificationsProcessor();
$NotificationsProcessor->__construct();

Код NotificationsProcessor::__construct() WC 11.2.2

public function __construct() {
	$this->logger = \wc_get_logger();
	add_action( JobManager::AS_JOB_SEND_STOCK_NOTIFICATIONS, array( $this, 'process_batch' ) );
}