| @@ -7,10 +7,10 @@ | ||
| 7 | 7 | * |
| 8 | 8 | * @wordpress-plugin |
| 9 | 9 | * Plugin Name: ConvertKit |
| 10 | 10 | * Plugin URI: https://convertkit.com/ |
| 11 | - * Description: Quickly and easily integrate ConvertKit forms into your site. | |
| 12 | - * Version: 2.2.7 | |
| 11 | + * Description: Display ConvertKit email subscription forms, landing pages, products, broadcasts and more. | |
| 12 | + * Version: 2.4.0 | |
| 13 | 13 | * Author: ConvertKit |
| 14 | 14 | * Author URI: https://convertkit.com/ |
| 15 | 15 | * Text Domain: convertkit |
| 16 | 16 | */ |
| @@ -24,9 +24,9 @@ | ||
| 24 | 24 | define( 'CONVERTKIT_PLUGIN_NAME', 'ConvertKit' ); // Used for user-agent in API class. |
| 25 | 25 | define( 'CONVERTKIT_PLUGIN_FILE', plugin_basename( __FILE__ ) ); |
| 26 | 26 | define( 'CONVERTKIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); |
| 27 | 27 | define( 'CONVERTKIT_PLUGIN_PATH', __DIR__ ); |
| 28 | -define( 'CONVERTKIT_PLUGIN_VERSION', '2.2.7' ); | |
| 28 | +define( 'CONVERTKIT_PLUGIN_VERSION', '2.4.0' ); | |
| 29 | 29 | |
| 30 | 30 | // Load shared classes, if they have not been included by another ConvertKit Plugin. |
| 31 | 31 | if ( ! class_exists( 'ConvertKit_API' ) ) { |
| 32 | 32 | require_once CONVERTKIT_PLUGIN_PATH . '/vendor/convertkit/convertkit-wordpress-libraries/src/class-convertkit-api.php'; |
| @@ -45,9 +45,13 @@ | ||
| 45 | 45 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/cron-functions.php'; |
| 46 | 46 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/functions.php'; |
| 47 | 47 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-wp-convertkit.php'; |
| 48 | 48 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-ajax.php'; |
| 49 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-broadcasts-exporter.php'; | |
| 50 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-broadcasts-importer.php'; | |
| 51 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-cron.php'; | |
| 49 | 52 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-gutenberg.php'; |
| 53 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-media-library.php'; | |
| 50 | 54 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-output.php'; |
| 51 | 55 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-output-restrict-content.php'; |
| 52 | 56 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-post.php'; |
| 53 | 57 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-preview-output.php'; |
| @@ -57,8 +61,9 @@ | ||
| 57 | 61 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-resource-posts.php'; |
| 58 | 62 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-resource-products.php'; |
| 59 | 63 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-resource-tags.php'; |
| 60 | 64 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-settings.php'; |
| 65 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-settings-broadcasts.php'; | |
| 61 | 66 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-settings-restrict-content.php'; |
| 62 | 67 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-setup.php'; |
| 63 | 68 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-shortcodes.php'; |
| 64 | 69 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/class-convertkit-subscriber.php'; |
| @@ -73,8 +78,10 @@ | ||
| 73 | 78 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/blocks/class-convertkit-block-product.php'; |
| 74 | 79 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/block-formatters/class-convertkit-block-formatter.php'; |
| 75 | 80 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/block-formatters/class-convertkit-block-formatter-form-link.php'; |
| 76 | 81 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/block-formatters/class-convertkit-block-formatter-product-link.php'; |
| 82 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/pre-publish-actions/class-convertkit-pre-publish-action.php'; | |
| 83 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/pre-publish-actions/class-convertkit-pre-publish-action-broadcast-export.php'; | |
| 77 | 84 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/widgets/class-ck-widget-form.php'; |
| 78 | 85 | |
| 79 | 86 | // Contact Form 7 Integration. |
| 80 | 87 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/contactform7/class-convertkit-contactform7.php'; |
| @@ -82,8 +89,12 @@ | ||
| 82 | 89 | |
| 83 | 90 | // Elementor Integration. |
| 84 | 91 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/elementor/class-convertkit-elementor.php'; |
| 85 | 92 | |
| 93 | +// Forminator Integration. | |
| 94 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/forminator/class-convertkit-forminator.php'; | |
| 95 | +require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/forminator/class-convertkit-forminator-settings.php'; | |
| 96 | + | |
| 86 | 97 | // WishList Member Integration. |
| 87 | 98 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/wishlist/class-convertkit-wishlist.php'; |
| 88 | 99 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/wishlist/class-convertkit-wishlist-settings.php'; |
| 89 | 100 | |
| @@ -111,8 +122,11 @@ | ||
| 111 | 122 | |
| 112 | 123 | // Contact Form 7 Integration. |
| 113 | 124 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/contactform7/class-convertkit-contactform7-admin-settings.php'; |
| 114 | 125 | |
| 126 | + // Forminator Integration. | |
| 127 | + require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/forminator/class-convertkit-forminator-admin-settings.php'; | |
| 128 | + | |
| 115 | 129 | // WishList Member Integration. |
| 116 | 130 | require_once CONVERTKIT_PLUGIN_PATH . '/includes/integrations/wishlist/class-convertkit-wishlist-admin-settings.php'; |
| 117 | 131 | |
| 118 | 132 | // Restrict Content Integration. |
| @@ -118,8 +132,11 @@ | ||
| 118 | 132 | // Restrict Content Integration. |
| 119 | 133 | require_once CONVERTKIT_PLUGIN_PATH . '/admin/class-convertkit-admin-restrict-content.php'; |
| 120 | 134 | require_once CONVERTKIT_PLUGIN_PATH . '/admin/class-convertkit-admin-settings-restrict-content.php'; |
| 121 | 135 | require_once CONVERTKIT_PLUGIN_PATH . '/admin/setup-wizard/class-convertkit-admin-setup-wizard-restrict-content.php'; |
| 136 | + | |
| 137 | + // Broadcasts Integration. | |
| 138 | + require_once CONVERTKIT_PLUGIN_PATH . '/admin/section/class-convertkit-admin-settings-broadcasts.php'; | |
| 122 | 139 | } |
| 123 | 140 | |
| 124 | 141 | // Register Plugin activation and deactivation functions. |
| 125 | 142 | register_activation_hook( __FILE__, 'convertkit_plugin_activate' ); |