Automattic\WooCommerce\Admin\Notes
Note::get_layout
Get note layout (the old notes won't have one).
Method of the class: Note{}
No Hooks.
Returns
Array.
Usage
$Note = new Note(); $Note->get_layout( $context );
- $context(string)
- What the value is for. Valid values are
'view'and'edit'.
Default:'view'
Note::get_layout() Note::get layout code WC 10.8.1
public function get_layout( $context = 'view' ) {
return $this->get_prop( 'layout', $context );
}