Automattic\WooCommerce\Admin\Notes
Note::get_layout()
Get note layout (the old notes won't have one).
Метод класса: Note{}
Хуков нет.
Возвращает
Массив
.
Использование
$Note = new Note(); $Note->get_layout( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Код Note::get_layout() Note::get layout WC 9.7.1
public function get_layout( $context = 'view' ) { return $this->get_prop( 'layout', $context ); }