fraudlabs-pro-for-woocommerce
Last commit date
assets
6 years ago
includes
5 years ago
init.php
5 years ago
license.txt
9 years ago
readme.txt
5 years ago
init.php
45 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: FraudLabs Pro for WooCommerce |
| 4 | * Plugin URI: https://www.fraudlabspro.com |
| 5 | * Description: This plugin is an add-on for WooCommerce plugin that help you to screen your order transaction, such as credit card transaction, for online fraud. |
| 6 | * Author: FraudLabs Pro |
| 7 | * Author URI: https://www.fraudlabspro.com/ |
| 8 | * Version: 2.14.11 |
| 9 | * |
| 10 | * This program is free software: you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation, either version 3 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | */ |
| 24 | |
| 25 | if ( !defined( 'ABSPATH' ) ) { |
| 26 | exit; |
| 27 | } |
| 28 | |
| 29 | if ( !defined( 'WC_FLP_DIR' ) ) { |
| 30 | define( 'WC_FLP_DIR', __FILE__ ); |
| 31 | } |
| 32 | |
| 33 | if ( ! function_exists( 'wc_fraudlabspro' ) ) : |
| 34 | |
| 35 | add_action( 'plugins_loaded', 'wc_fraudlabspro' ); |
| 36 | |
| 37 | function wc_fraudlabspro() { |
| 38 | |
| 39 | require_once plugin_dir_path( __FILE__ ) . 'includes' . DIRECTORY_SEPARATOR . 'class.wc-fraudlabspro.php'; |
| 40 | WC_FraudLabs_Pro::get_instance(); |
| 41 | |
| 42 | } |
| 43 | |
| 44 | endif; |
| 45 |