Hacked By AnonymousFox
<?php
/**
* Contact form template.
*
* @package WPForms
* @author WPForms
* @since 1.0.0
* @license GPL-2.0+
* @copyright Copyright (c) 2016, WPForms LLC
*/
class WPForms_Template_Contact extends WPForms_Template {
/**
* Primary class constructor.
*
* @since 1.0.0
*/
public function init() {
$this->name = esc_html__( 'Simple Contact Form', 'wpforms' );
$this->slug = 'contact';
$this->description = esc_html__( 'Allow your users to contact you with this simple contact form. You can add and remove fields as needed.', 'wpforms' );
$this->includes = '';
$this->icon = '';
$this->modal = '';
$this->core = true;
$this->data = array(
'field_id' => '3',
'fields' => array(
'0' => array(
'id' => '0',
'type' => 'name',
'label' => esc_html__( 'Name', 'wpforms' ),
'required' => '1',
'size' => 'medium',
),
'1' => array(
'id' => '1',
'type' => 'email',
'label' => esc_html__( 'Email', 'wpforms' ),
'required' => '1',
'size' => 'medium',
),
'2' => array(
'id' => '2',
'type' => 'textarea',
'label' => esc_html__( 'Comment or Message', 'wpforms' ),
'description' => '',
'required' => '1',
'size' => 'medium',
'placeholder' => '',
'css' => '',
),
),
'settings' => array(
'notifications' => array(
'1' => array(
'replyto' => '{field_id="1"}',
'sender_name' => '{field_id="0"}',
'sender_address' => '{admin_email}',
),
),
'honeypot' => '1',
'confirmation_message_scroll' => '1',
'submit_text_processing' => esc_html__( 'Sending...', 'wpforms' ),
),
'meta' => array(
'template' => $this->slug,
),
);
}
}
new WPForms_Template_Contact;
Hacked By AnonymousFox1.0, Coded By AnonymousFox