PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
EmailEditor
/
Engine
<?php declare(strict_types = 1); namespace MailPoet\EmailEditor\Engine; if (!defined('ABSPATH')) exit; use MailPoet\Validator\Builder; class EmailApiController { /** * @return array - Email specific data such styles. */ public function getEmailData(): array { // Here comes code getting Email specific data that will be passed on 'email_data' attribute return []; } /** * Update Email specific data we store. */ public function saveEmailData(array $data, \WP_Post $emailPost): void { // Here comes code saving of Email specific data that will be passed on 'email_data' attribute } public function getEmailDataSchema(): array { return Builder::object()->toArray(); } }
[-] index.php
[edit]
[+]
..
[-] flex-email-layout.css
[edit]
[-] SettingsController.php
[edit]
[+]
Renderer
[-] ThemeController.php
[edit]
[-] EmailEditor.php
[edit]
[+]
Patterns
[-] theme.md
[edit]
[-] EmailApiController.php
[edit]
[-] theme.json
[edit]
[-] EmailStylesSchema.php
[edit]
[+]
Templates