| Server IP : 52.25.153.185 / Your IP : 216.73.217.32 Web Server : Apache System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : daemon ( 1) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/fluent-crm/app/Models/ |
Upload File : |
<?php
namespace FluentCrm\App\Models;
use FluentCrm\App\Services\Helper;
/**
* CustomEmailCampaign Model - DB Model for Custom Emails
*
* Database Model
*
* @package FluentCrm\App\Models
*
* @version 1.0.0
*/
class CustomEmailCampaign extends Campaign
{
protected static $type = 'custom_email_campaign';
public static function getMock()
{
$defaultTemplate = Helper::getDefaultEmailTemplate();
return [
'id' => '',
'title' => __('Custom Email', 'fluent-crm'),
'status' => 'published',
'template_id' => '',
'email_subject' => '',
'email_pre_header' => '',
'email_body' => '',
'utm_status' => 0,
'utm_source' => '',
'utm_medium' => '',
'utm_campaign' => '',
'utm_term' => '',
'utm_content' => '',
'design_template' => $defaultTemplate,
'settings' => (object)[
'template_config' => Helper::getTemplateConfig($defaultTemplate)
]
];
}
}