MailPoet\EmailEditor\Engine
Theme_Controller::get_layout_settings()
Get layout settings from the theme.
Method of the class: Theme_Controller{}
No Hooks.
Return
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 9.8.1
public function get_layout_settings(): array { return $this->get_theme()->get_settings()['layout']; }