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