PluginProbe
ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema / 2.5.1
ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema v2.5.1
2.5.1 2.5.0 2.4.1 2.4.0 2.3.11 2.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 All 143 releases
reviewx / reviewx.php

reviewx.php in ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema 2.5.1, at reviewx.php

54 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: ReviewX – Multi-Criteria Rating & Reviews
4 * Plugin URI: https://reviewx.io
5 * Description: Advanced Multi-Criteria Rating & Reviews for WooCommerce. Turn customer reviews into sales by leveraging reviews with multiple criteria, reminder emails, Google reviews, review schemas, and incentives like discounts.
6 * Version: 2.5.1
7 * Author: ReviewX
8 * Author URI: https://reviewx.io
9 * Text Domain: reviewx
10 * Domain Path: /languages
11 * @package ReviewX
12 * @author ReviewX <support@reviewx.io>
13 * @copyright Copyright (C) 2024 ReviewX & JoulesLabs. All rights reserved.
14 * License: GPLv3 or later
15 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16 * @since 1.0.0
17 */
18
19 // don't call the file directly
20 defined('ABSPATH') || die();
21
22 if (defined('REVIEWX_BOOTSTRAPPED')) {
23 return;
24 }
25
26 define('REVIEWX_BOOTSTRAPPED', true);
27
28 // phpcs:ignore Squiz.PHP.DiscouragedFunctions.Discouraged
29 @ini_set('display_errors', 0);
30
31 defined('REVIEWX_VERSION') || define('REVIEWX_VERSION', '2.5.1');
32 defined('REVIEWX_DIR_PATH') || define('REVIEWX_DIR_PATH', plugin_dir_path(__FILE__));
33 defined('REVIEWX_DIR_NAME') || define('REVIEWX_DIR_NAME', basename(REVIEWX_DIR_PATH));
34 defined('REVIEWX_PREFIX') || define('REVIEWX_PREFIX', 'rvx_');
35 defined('REVIEWX_FILE') || define('REVIEWX_FILE', __FILE__);
36 defined('REVIEWX_URL') || define('REVIEWX_URL', plugins_url('/', __FILE__));
37 defined('REVIEWX_CUSTOMIZER_URL') || define('REVIEWX_CUSTOMIZER_URL', REVIEWX_URL . 'app/Customize/');
38
39 if (php_sapi_name() === 'cli') {
40 return;
41 }
42
43 // Load Composer
44 require_once __DIR__ . '/vendor/autoload.php';
45
46 // Silence PHP deprecation warnings from vendor packages
47 // phpcs:ignore WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_error_reporting
48 error_reporting(error_reporting() & ~E_DEPRECATED);
49
50 // Boot ReviewX
51 call_user_func(function ($bootstrap) {
52 $bootstrap(__FILE__);
53 }, require(__DIR__ . '/bootstrap/boot.php'));
54