Automattic\WooCommerce\Internal\StockNotifications

Notification::set_date_createdpublicWC 1.0

Set the date created.

Method of the class: Notification{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Notification = new Notification();
$Notification->set_date_created( $date_created );
$date_created(string|int) (required)
Date created.

Notification::set_date_created() code WC 10.3.6

public function set_date_created( $date_created ) {
	$this->set_date_prop( 'date_created', $date_created );
}