Automattic\WooCommerce\Internal\StockNotifications\AsyncTasks
NotificationsProcessor::__construct
Constructor.
Метод класса: NotificationsProcessor{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$NotificationsProcessor = new NotificationsProcessor(); $NotificationsProcessor->__construct();
Код 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' ) );
}