PluginProbe
Additional Terms Lite for WooCommerce / 1.0.1
Additional Terms Lite for WooCommerce v1.0.1
1.7.3 1.7.2.1 trunk 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.2.2 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.6.0 1.6.1 1.6.2 1.6.3 All 35 releases
woo-additional-terms / woo-additioanl-terms.php

woo-additioanl-terms.php in Additional Terms Lite for WooCommerce 1.0.1, at woo-additioanl-terms.php

39 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Woo Additional Terms
4 Plugin URI: https://www.mypreview.one
5 Description: Add additional terms and condition checkbox into WooCommerce Checkout.
6 Version: 1.0.1
7 Author: Mahdi Yazdani
8 Author URI: https://www.mypreview.one
9 Text Domain: woo-additional-terms
10 Domain Path: /languages
11 License: GPL2
12 License URI: https://www.gnu.org/licenses/gpl-2.0.html
13
14 Woo Additional Terms is free software: you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 2 of the License, or
17 any later version.
18
19 Woo Additional Terms is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with Woo Additional Terms. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
26 */
27 // Prevent direct file access
28 defined( 'ABSPATH' ) or exit;
29 // Check the requirements of plugin (first step).
30 require_once dirname( __FILE__ ) . '/includes/requirements.php';
31 // WooCommerce Store Vacation Class.
32 require_once dirname( __FILE__ ) . '/includes/WooAdditionalTerms.php';
33 // Retrieve plugin option value(s).
34 require_once dirname( __FILE__ ) . '/includes/front-end.php';
35 require_once dirname( __FILE__ ) . '/includes/back-end.php';
36 if ( is_admin() ) :
37 $woocommerce_store_vacation = new WooAdditionalTerms(__FILE__);
38 load_plugin_textdomain( 'woo-additional-terms', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
39 endif;