Automattic\WooCommerce\Admin\Notes
Note::get_is_read()
Get is_read status.
Метод класса: Note{}
Хуков нет.
Возвращает
true|false
.
Использование
$Note = new Note(); $Note->get_is_read( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Код Note::get_is_read() Note::get is read WC 9.7.1
public function get_is_read( $context = 'view' ) { return $this->get_prop( 'is_read', $context ); }