PluginProbe ʕ •ᴥ•ʔ
YITH WooCommerce Compare / 1.1.4
YITH WooCommerce Compare v1.1.4
3.11.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 1.2.2 1.2.3 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.10.0 2.11.0 2.12.0 2.13.0 2.14.0 2.15.0 2.16.0 2.17.0 2.18.0 2.19.0 2.2.0 2.2.1 2.2.2 2.2.3 2.20.0 2.20.1 2.21.0 2.23.0 2.24.1 2.25.0 2.26.0 2.28.0 2.29.0 2.29.1 2.3.0 2.3.1 2.3.10 2.3.11 2.3.12 2.3.13 2.3.14 2.3.15 2.3.16 2.3.17 2.3.18 2.3.19 2.3.2 2.3.20 2.3.21 2.3.22 2.3.23 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.30.0 2.31.0 2.32.0 2.33.0 2.34.0 2.35.0 2.36.0 2.37.0 2.38.0 2.39.0 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.40.0 2.41.0 2.42.0 2.43.0 2.44.0 2.45.0 2.46.0 2.47.0 2.48.0 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.4.1 2.6.0 2.6.1 2.7.0 2.8.0 2.9.0 3.0.0 3.0.1 3.1.0 3.10.0 3.2.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 3.8.0 3.9.0
yith-woocommerce-compare / init.php
yith-woocommerce-compare Last commit date
assets 12 years ago languages 12 years ago templates 12 years ago widgets 12 years ago yit-common 12 years ago README.txt 12 years ago class.yith-woocompare-admin.php 12 years ago class.yith-woocompare-frontend.php 12 years ago class.yith-woocompare-helper.php 12 years ago class.yith-woocompare.php 12 years ago functions.yith-woocompare.php 12 years ago init.php 12 years ago screenshot-1.png 12 years ago screenshot-2.png 12 years ago screenshot-3.png 12 years ago wpml-config.xml 12 years ago yith-woocompare-options.php 12 years ago
init.php
64 lines
1 <?php
2 /**
3 * Plugin Name: YITH Woocommerce Compare
4 * Plugin URI: http://yithemes.com/
5 * Description: YITH Woocommerce Compare allows you to compare more products with woocommerce plugin, through product attributes.
6 * Version: 1.1.4
7 * Author: Your Inspiration Themes
8 * Author URI: http://yithemes.com/
9 * Text Domain: yit
10 * Domain Path: /languages/
11 *
12 * @author Your Inspiration Themes
13 * @package YITH Woocommerce Compare
14 * @version 1.1.4
15 */
16 /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
18 This program is free software; you can redistribute it and/or modify
19 it under the terms of the GNU General Public License, version 2, as
20 published by the Free Software Foundation.
21
22 This program is distributed in the hope that it will be useful,
23 but WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 GNU General Public License for more details.
26
27 You should have received a copy of the GNU General Public License
28 along with this program; if not, write to the Free Software
29 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 */
31 if ( !defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
32
33 /* Include common functions */
34 if( !defined('YITH_FUNCTIONS') ) {
35 require_once( 'yit-common/google_fonts.php' );
36 require_once( 'yit-common/yit-functions.php' );
37 require_once( 'yit-common/yith-panel.php' );
38 }
39
40 function yith_woocompare_constructor() {
41 global $woocommerce;
42 if ( ! isset( $woocommerce ) ) return;
43
44 load_plugin_textdomain( 'yit', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
45
46 define( 'YITH_WOOCOMPARE', true );
47 define( 'YITH_WOOCOMPARE_VERSION', '1.1.2' );
48 define( 'YITH_WOOCOMPARE_URL', plugin_dir_url( __FILE__ ) );
49 define( 'YITH_WOOCOMPARE_DIR', plugin_dir_path( __FILE__ ) );
50
51 // Load required classes and functions
52 require_once('class.yith-woocompare-helper.php');
53 require_once('functions.yith-woocompare.php');
54 require_once('class.yith-woocompare-admin.php');
55 require_once('class.yith-woocompare-frontend.php');
56 require_once('widgets/class.yith-woocompare-widget.php');
57 require_once('class.yith-woocompare.php');
58
59 // Let's start the game!
60 global $yith_woocompare;
61 $yith_woocompare = new YITH_Woocompare();
62 }
63 add_action( 'plugins_loaded', 'yith_woocompare_constructor' );
64