Automattic\WooCommerce\Internal\StockNotifications\AsyncTasks
NotificationsProcessor::__construct
Constructor.
Method of the class: NotificationsProcessor{}
No Hooks.
Returns
null. Nothing (null).
Usage
$NotificationsProcessor = new NotificationsProcessor(); $NotificationsProcessor->__construct();
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' ) );
}