forked from hlashbrooke/Jetpack-Contact-Form-Auto-Reply
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjetpack-contact-form-auto-reply.php
More file actions
42 lines (36 loc) · 1.19 KB
/
jetpack-contact-form-auto-reply.php
File metadata and controls
42 lines (36 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/*
* Plugin Name: Jetpack Contact Form Auto Reply
* Version: 1.1
* Plugin URI: https://wordpress.org/plugins/jetpack-contact-form-auto-reply/
* Description: Send an automatic reply to anyone who fills in your Jetpack contact form
* Author: Hugh Lashbrooke
* Author URI: http://www.hughlashbrooke.com/
* Requires at least: 4.0
* Tested up to: 4.1
*
* Text Domain: jetpack-contact-form-auto-reply
* Domain Path: /lang/
*
* @package WordPress
* @author Hugh Lashbrooke
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit;
// Load plugin class files
require_once( 'includes/class-jetpack-contact-form-auto-reply.php' );
require_once( 'includes/class-jetpack-contact-form-auto-reply-settings.php' );
/**
* Returns the main instance of Jetpack_Contact_Form_Auto_Reply to prevent the need to use globals.
*
* @since 1.0.0
* @return object Jetpack_Contact_Form_Auto_Reply
*/
function Jetpack_Contact_Form_Auto_Reply () {
$instance = Jetpack_Contact_Form_Auto_Reply::instance( __FILE__, '1.0.0' );
if ( is_null( $instance->settings ) ) {
$instance->settings = Jetpack_Contact_Form_Auto_Reply_Settings::instance( $instance );
}
return $instance;
}
Jetpack_Contact_Form_Auto_Reply();