Automattic\WooCommerce\Admin\Notes
Note::get_layout()
Get note layout (the old notes won't have one).
Method of the class: Note{}
No Hooks.
Return
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 8.7.0
public function get_layout( $context = 'view' ) { return $this->get_prop( 'layout', $context ); }