PluginProbe
ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema / trunk
ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema vtrunk
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 / bootstrap / boot.php

boot.php in ReviewX – Multi-Criteria Reviews for WooCommerce with Google Reviews & Schema trunk, at bootstrap/boot.php

20 lines 500 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace ReviewX;
4
5 \defined('ABSPATH') || exit;
6 use ReviewX\WPDrill\Plugin;
7 return function (string $file) {
8 $plugin = new Plugin($file);
9 \ReviewX\WPDrill\Facade::setFacadeApplication($plugin);
10 \ReviewX\WPDrill\Models\Model::setFacadeApplication($plugin);
11 $fn = null;
12 if (\php_sapi_name() !== 'cli') {
13 $fn = function (\ReviewX\WPDrill\Routing\RouteManager $route) {
14 $route->loadRoutes();
15 };
16 }
17 $plugin->make($fn);
18 return $plugin;
19 };
20