Automattic\WooCommerce\Admin\Notes

Note::get_locale()publicWC 1.0

Get note locale.

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

No Hooks.

Return

String.

Usage

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

Code of Note::get_locale() WC 7.1.0

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