Automattic\WooCommerce\Admin\Notes

Note::get_is_snoozable()publicWC 1.0

Get note snoozability.

Метод класса: Note{}

Хуков нет.

Возвращает

true|false. Whether or not the note can be snoozed.

Использование

$Note = new Note();
$Note->get_is_snoozable( $context );
$context(строка)
What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'

Код Note::get_is_snoozable() WC 8.7.0

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