-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathintegrate-convertkit-wpforms.php
More file actions
46 lines (40 loc) · 1.54 KB
/
integrate-convertkit-wpforms.php
File metadata and controls
46 lines (40 loc) · 1.54 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
43
44
45
46
<?php
/**
* Plugin Name: Integrate ConvertKit and WPForms
* Plugin URI: https://www.billerickson.net/how-to-setup-convertkit-with-a-wordpress-form
* Description: Create ConvertKit signup forms using WPForms
* Version: 1.4.0
* Author: Bill Erickson
* Author URI: https://www.billerickson.net
* Text Domain: integrate-convertkit-wpforms
* Domain Path: /languages
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2, as published by the
* Free Software Foundation. You may NOT assume that you can use any other
* version of the GPL.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
*
* @package Integrate_ConvertKit_WPForms
* @since 1.0.0
* @copyright Copyright (c) 2017, Bill Erickson
* @license GPL-2.0+
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
// Plugin version
define( 'INTEGRATE_CONVERTKIT_WPFORMS_VERSION', '1.4.0' );
/**
* Load the class
*
*/
function integrate_convertkit_wpforms() {
load_plugin_textdomain( 'integrate-convertkit-wpforms', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
require_once( plugin_dir_path( __FILE__ ) . 'class-integrate-convertkit-wpforms.php' );
}
add_action( 'wpforms_loaded', 'integrate_convertkit_wpforms' );