Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $admin_email = '[email protected]'; // Your Email
- $message_min_length = 5; // Min Message Length
- class Contact_Form{
- function __construct($details, $email_admin, $message_min_length){
- $this->name = stripslashes($details['name']);
- $this->email = trim($details['email']);
- $this->subject = '[email protected]'; // Subject
- $this->message = stripslashes($details['message']);
- $this->email_admin = $email_admin;
- $this->message_min_length = $message_min_length;
- $this->response_status = true;
- $this->response_html = '';
- }
Advertisement
Add Comment
Please, Sign In to add comment