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