Automattic\WooCommerce\Internal\StockNotifications
Notification::set_date_cancelled
Set the date cancelled.
Method of the class: Notification{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Notification = new Notification(); $Notification->set_date_cancelled( $date_cancelled );
- $date_cancelled(string|int) (required)
- Date cancelled.
Notification::set_date_cancelled() Notification::set date cancelled code WC 10.3.6
public function set_date_cancelled( $date_cancelled ) {
$this->set_date_prop( 'date_cancelled', $date_cancelled );
}