Automattic\WooCommerce\Admin\Notes

Note::get_date_created()publicWC 1.0

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() WC 8.7.0

public function get_date_created( $context = 'view' ) {
	return $this->get_prop( 'date_created', $context );
}