PluginProbe
Sendy / 3.2.4
Sendy v3.2.4
3.4.6 3.4.7 trunk 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 All 32 releases
sendy / sendy.php

sendy.php in Sendy 3.2.4, at sendy.php

48 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Sendy
5 * Plugin URI: https://app.sendy.nl/
6 * Description: A WooCommerce plugin that connects your site to the Sendy platform
7 * Version: 3.2.4
8 * Author: Sendy
9 * Author URI: https://sendy.nl/
10 * License: MIT
11 * Text Domain: sendy
12 * Domain Path: /languages
13 * Requires at least: 5.2
14 * Tested up to: 6.8
15 * Requires PHP: 7.4
16 * Requires Plugins: woocommerce
17 * WC requires at least: 8.2
18 * WC tested up to: 9.8.2
19 *
20 * @package Sendy
21 */
22
23 if (! defined('ABSPATH')) {
24 exit;
25 }
26
27 if (! defined('SENDY_WC_PLUGIN_FILE')) {
28 define('SENDY_WC_PLUGIN_FILE', __FILE__);
29 }
30
31 if (! defined('SENDY_WC_PLUGIN_BASENAME')) {
32 define('SENDY_WC_PLUGIN_BASENAME', plugin_basename(SENDY_WC_PLUGIN_FILE));
33 }
34
35 require_once __DIR__ . '/vendor/autoload.php';
36
37 function sendy_init() {
38 require_once __DIR__ . '/src/helpers.php';
39
40 return Sendy\WooCommerce\Plugin::instance();
41 }
42
43 add_action('plugins_loaded', 'sendy_init');
44
45 register_deactivation_hook(__FILE__, function () {
46 Sendy\WooCommerce\Plugin::instance()->deactivate();
47 });
48