Automattic\WooCommerce\EmailEditor\Engine
Theme_Controller::get_layout_settings
Get layout settings from the theme.
Method of the class: Theme_Controller{}
No Hooks.
Returns
Array{contentSize:. string, wideSize: string, allowEditing?: bool, allowCustomContentAndWideSize?: bool}
Usage
$Theme_Controller = new Theme_Controller(); $Theme_Controller->get_layout_settings(): array;
Theme_Controller::get_layout_settings() Theme Controller::get layout settings code WC 10.6.2
public function get_layout_settings(): array {
return $this->get_theme()->get_settings()['layout'];
}