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