| 1 |
<?php |
| 2 |
/** |
| 3 |
* The plugin bootstrap file |
| 4 |
* |
| 5 |
* @package SeQura/WC |
| 6 |
* |
| 7 |
* @wordpress-plugin |
| 8 |
* Plugin Name: seQura |
| 9 |
* Plugin URI: https://sequra.es/ |
| 10 |
* Description: seQura payment gateway for WooCommerce |
| 11 |
* Version: 4.3.1 |
| 12 |
* Author: "seQura Tech" <wordpress@sequra.com> |
| 13 |
* Author URI: https://sequra.com/ |
| 14 |
* License: GPL-3.0+ |
| 15 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt |
| 16 |
* Text Domain: sequra |
| 17 |
* Domain Path: /languages |
| 18 |
* Requires PHP: 7.3 |
| 19 |
* Requires at least: 5.9 |
| 20 |
* Tested up to: 6.9.4 |
| 21 |
* WC requires at least: 4.7.0 |
| 22 |
* WC tested up to: 10.6.0 |
| 23 |
* Requires Plugins: woocommerce |
| 24 |
*/ |
| 25 |
|
| 26 |
defined( 'WPINC' ) || die; |
| 27 |
|
| 28 |
require plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; |
| 29 |
|
| 30 |
call_user_func( |
| 31 |
function () { |
| 32 |
\SeQura\WC\Bootstrap::init(); |
| 33 |
/** |
| 34 |
* The instance of the plugin. |
| 35 |
* |
| 36 |
* @var \SeQura\WC\Plugin $plugin |
| 37 |
*/ |
| 38 |
$plugin = \SeQura\Core\Infrastructure\ServiceRegister::getService( \SeQura\WC\Plugin::class ); |
| 39 |
register_activation_hook( __FILE__, array( $plugin, 'activate' ) ); |
| 40 |
register_deactivation_hook( __FILE__, array( $plugin, 'deactivate' ) ); |
| 41 |
} |
| 42 |
); |
| 43 |
|