Automattic\WooCommerce\Admin\Notes

Note::get_type │ public │ WC 1.0

Get note type.

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

Хуков нет.

Возвращает

string.

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

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

Код Note::get_type() WC 11.3.0

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