Automattic\WooCommerce\Admin\Notes
Note::set_is_read()
Set note is_read status. NULL is not allowed
Метод класса: Note{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Note = new Note(); $Note->set_is_read( $is_read );
- $is_read(true|false) (обязательный)
- Note is_read status.
Код Note::set_is_read() Note::set is read WC 8.7.0
public function set_is_read( $is_read ) { $this->set_prop( 'is_read', $is_read ); }