Automattic\WooCommerce\Admin\Notes
Note::get_type
Get note type.
Method of the class: Note{}
No Hooks.
Returns
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() Note::get type code WC 10.6.2
public function get_type( $context = 'view' ) {
return $this->get_prop( 'type', $context );
}