Automattic\WooCommerce\Admin\Notes

Note::get_type()publicWC 1.0

Get note type.

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

No Hooks.

Return

String.

Usage

$Note = new Note();
$Note->get_type( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Код Note::get_type() WC 7.1.0

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