Migrate email editor email-styles-schema to WP Coding Standard

[MAILPOET-6240]
This commit is contained in:
Jan Lysý
2024-10-16 18:19:06 +02:00
committed by Jan Lysý
parent c83ec3c8d7
commit 734b70489d
3 changed files with 30 additions and 16 deletions

View File

@@ -122,7 +122,7 @@ class Email_Editor {
}
public function getEmailThemeDataSchema(): array {
return ( new Email_Styles_Schema() )->getSchema();
return ( new Email_Styles_Schema() )->get_schema();
}
public function extendEmailThemeStyles( WP_Theme_JSON $theme, WP_Post $post ): WP_Theme_JSON {