• 0

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once

Woocommerce can send automated e-mails to admins when product stock status changes to 'outofstock'.

I would like to know which hook is fired when this happens so I can hook into it and store the time and date of this event in corresponding product meta.

I am not asking for step by step guide how to code this functionality, I am just looking for the right action to hook into.

Download script demo [LINK]
Download script demo [LINK 2] Download script demo [LINK 2]