Automattic\WooCommerce\Admin\Notes
Note::get_date_created
Get date note was created.
Метод класса: Note{}
Хуков нет.
Возвращает
WC_DateTime|NULL. object if the date is set or null if there is no date.
Использование
$Note = new Note(); $Note->get_date_created( $context );
- $context(строка)
- What the value is for. Valid values are
'view'and'edit'.
По умолчанию:'view'
Код Note::get_date_created() Note::get date created WC 10.5.1
public function get_date_created( $context = 'view' ) {
return $this->get_prop( 'date_created', $context );
}