constant-contact-woocommerce
Last commit date
app
6 years ago
src
6 years ago
vendor
6 years ago
README.txt
6 years ago
composer.json
6 years ago
composer.lock
6 years ago
package-lock.json
6 years ago
package.json
6 years ago
plugin.php
6 years ago
uninstall.php
6 years ago
webpack.config.js
6 years ago
plugin.php
35 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Constant Contact + WooCommerce |
| 4 | * |
| 5 | * @since 2019-02-15 |
| 6 | * @author Constant Contact <https://www.constantcontact.com/> |
| 7 | * @package cc-woo |
| 8 | * |
| 9 | * @wordpress-plugin |
| 10 | * Plugin Name: Constant Contact + WooCommerce |
| 11 | * Description: Add products to your emails and sync your contacts. |
| 12 | * Plugin URI: https://github.com/WebDevStudios/constant-contact-woocommerce |
| 13 | * Version: 1.3.2 |
| 14 | * Author: Constant Contact |
| 15 | * Author URI: https://www.constantcontact.com/ |
| 16 | * Text Domain: cc-woo |
| 17 | * WC tested up to: 4.0.1 |
| 18 | * Requires PHP: 7.2 |
| 19 | * License: GPL-3.0+ |
| 20 | * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html |
| 21 | */ |
| 22 | |
| 23 | // Autoload things. |
| 24 | $autoloader = dirname( __FILE__ ) . '/vendor/autoload.php'; |
| 25 | |
| 26 | if ( ! is_readable( $autoloader ) ) { |
| 27 | /* Translators: Placeholder is the current directory. */ |
| 28 | throw new \Exception( sprintf( __( 'Please run `composer install` in the plugin folder "%s" and try activating this plugin again.', 'cc-woo' ), dirname( __FILE__ ) ) ); |
| 29 | } |
| 30 | |
| 31 | require_once $autoloader; |
| 32 | |
| 33 | $plugin = new \WebDevStudios\CCForWoo\Plugin( __FILE__ ); |
| 34 | $plugin->run(); |
| 35 |