Automattic\WooCommerce\Internal\StockNotifications
Notification::set_date_cancelled
Set the date cancelled.
Метод класса: Notification{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Notification = new Notification(); $Notification->set_date_cancelled( $date_cancelled );
- $date_cancelled(строка|int) (обязательный)
- Date cancelled.
Код Notification::set_date_cancelled() Notification::set date cancelled WC 11.3.0
public function set_date_cancelled( $date_cancelled ) {
$this->set_date_prop( 'date_cancelled', $date_cancelled );
}