File "InitialForm.php"
Full Path: /home/warrior1/public_html/languages/wp-content-20241001222009/plugins/mailpoet/lib/Form/Templates/Templates/InitialForm.php
File size: 978 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoet\Form\Templates\Templates;
if (!defined('ABSPATH')) exit;
use MailPoet\Form\Templates\FormTemplate;
class InitialForm extends FormTemplate {
const ID = 'initial_form';
public function getName(): string {
return '';
}
public function getThumbnailUrl(): string {
return '';
}
public function getBody(): array {
return [
[
'id' => 'email',
'name' => __('Email', 'mailpoet'),
'type' => 'text',
'params' => [
'label' => __('Email Address', 'mailpoet'),
'required' => true,
'label_within' => true,
],
'styles' => [
'full_width' => true,
],
],
[
'id' => 'submit',
'name' => __('Submit', 'mailpoet'),
'type' => 'submit',
'params' => [
'label' => __('Subscribe!', 'mailpoet'),
],
'styles' => [
'full_width' => true,
],
],
];
}
}