MailPoet\EmailEditor\Engine
Settings_Controller::get_email_styles()
Get the email styles.
Method of the class: Settings_Controller{}
No Hooks.
Return
Array{
. spacing: array{
blockGap: string, padding: array{bottom: string, left: string, right: string, top: string}
}, color: array{
background: string
}, typography: array{
fontFamily: string
} }
Usage
$Settings_Controller = new Settings_Controller(); $Settings_Controller->get_email_styles(): array;
Settings_Controller::get_email_styles() Settings Controller::get email styles code WC 9.8.1
public function get_email_styles(): array { $theme = $this->get_theme(); return $theme->get_data()['styles']; }