Automattic\WooCommerce\Internal\StockNotifications\AsyncTasks

NotificationsProcessor::__constructpublicWC 1.0

Constructor.

Method of the class: NotificationsProcessor{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

NotificationsProcessor::__construct() code WC 10.3.6

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