PluginProbe
PayPlug for WooCommerce (Official) / 1.2.8
PayPlug for WooCommerce (Official) v1.2.8
3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 All 101 releases
payplug / payplug.php

payplug.php in PayPlug for WooCommerce (Official) 1.2.8, at payplug.php

40 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: PayPlug pour WooCommerce (Officiel)
4 * Plugin URI: https://www.payplug.com/modules/woocommerce
5 * Description: The online payment solution combining simplicity and first-rate support to boost your sales.
6 * Author: PayPlug
7 * Author URI: https://www.payplug.com/
8 * Text Domain: payplug
9 * Domain Path: /languages
10 * Version: 1.2.8
11 * WC tested up to: 5.3.0
12 * License: GPLv3 or later
13 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
14 */
15
16
17 namespace Payplug\PayplugWoocommerce;
18
19 // Exit if accessed directly
20 if ( ! defined( 'ABSPATH' ) ) {
21 exit;
22 }
23
24 define( 'PAYPLUG_GATEWAY_VERSION', '1.2.8' );
25 define( 'PAYPLUG_GATEWAY_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
26 define( 'PAYPLUG_GATEWAY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
27 define( 'PAYPLUG_GATEWAY_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
28
29 /**
30 * Plugin bootstrap function.
31 */
32 function init() {
33 if ( file_exists( plugin_dir_path( __FILE__ ) . '/vendor/autoload.php' ) ) {
34 require_once plugin_dir_path( __FILE__ ) . '/vendor/autoload.php';
35 }
36 PayplugWoocommerceHelper::load_plugin_textdomain( plugin_basename( dirname( __FILE__ ) ) . '/languages' );
37 PayplugWoocommerce::get_instance();
38 }
39 add_action( 'plugins_loaded', __NAMESPACE__ . '\\init' );
40