Automattic\WooCommerce\Admin\Notes
Note::get_source()
Get note source.
Method of the class: Note{}
No Hooks.
Return
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 9.7.1
public function get_source( $context = 'view' ) { return $this->get_prop( 'source', $context ); }