Automattic\WooCommerce\Internal\StockNotifications

Notification::set_date_cancelled │ public │ WC 1.0

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() WC 11.3.0

public function set_date_cancelled( $date_cancelled ) {
	$this->set_date_prop( 'date_cancelled', $date_cancelled );
}