Automattic\WooCommerce\Admin\Notes
Note::get_source
Get note source.
Method of the class: Note{}
No Hooks.
Returns
String.
Usage
$Note = new Note(); $Note->get_source( $context );
- $context(string)
- What the value is for. Valid values are
'view'and'edit'.
Default:'view'
Note::get_source() Note::get source code WC 10.5.0
public function get_source( $context = 'view' ) {
return $this->get_prop( 'source', $context );
}