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