Automattic\WooCommerce\Admin\Notes

Note::set_is_read()publicWC 1.0

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

public function set_is_read( $is_read ) {
	$this->set_prop( 'is_read', $is_read );
}