PluginProbe
Backend Payments for WooCommerce / trunk
Backend Payments for WooCommerce vtrunk
2.8.11 1.4.0 1.4.1 1.5.0 1.6.0 1.6.1 1.6.2 1.7.0 1.7.1 1.8.0 1.8.1 1.9.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.4.1 2.5.0 2.5.1 2.6.0 2.6.1 2.6.10 2.6.11 2.6.12 All 66 releases
woo-mp / woo-mp.php

woo-mp.php in Backend Payments for WooCommerce trunk, at woo-mp.php

48 lines 1.4 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: Backend Payments for WooCommerce
5 * Description: Process payments from the WooCommerce Edit Order screen.
6 * Version: 2.8.11
7 * Author: bfl
8 * Text Domain: woo-mp
9 * WC requires at least: 3.3
10 * WC tested up to: 11
11 */
12
13 defined( 'ABSPATH' ) || die;
14
15 $woo_mp_should_load = ( is_admin() && ! is_network_admin() ) || ( defined( 'DOING_CRON' ) && DOING_CRON );
16
17 /**
18 * Filters whether the plugin should load.
19 *
20 * You will need to bind your callback before this plugin loads.
21 *
22 * Warning: This plugin is intended to be used in the WP Admin. It may not
23 * function correctly outside of it. Loading the plugin outside of
24 * the WP Admin may also impact the security of your site. Test each
25 * release before updating your production site.
26 *
27 * @param bool $should_load Whether the plugin should load.
28 */
29 $woo_mp_should_load = apply_filters( 'woo_mp_should_load', $woo_mp_should_load );
30
31 if ( ! $woo_mp_should_load ) {
32 return;
33 }
34
35 define( 'WOO_MP_VERSION', '2.8.11' );
36 define( 'WOO_MP_PRO_COMPAT_VERSION', 9 );
37 define( 'WOO_MP_PATH', dirname( __FILE__ ) );
38 define( 'WOO_MP_URL', plugins_url( '', __FILE__ ) );
39 define( 'WOO_MP_BASENAME', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
40
41 require WOO_MP_PATH . '/includes/woo-mp-requirement-checks.php';
42
43 if ( ! Woo_MP_Requirement_Checks::run() ) {
44 return;
45 }
46
47 require WOO_MP_PATH . '/includes/bootstrap.php';
48