PluginProbe ʕ •ᴥ•ʔ
Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF / trunk
Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF vtrunk
2.0.5 trunk 1.3.7 1.4.0 1.4.1 1.4.2 1.4.6 1.5.0 1.5.3 1.5.6 1.5.8 1.6.5 1.6.6 1.6.9 1.7.0 1.7.4 1.8.1 1.8.2 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4
robin-image-optimizer / libs / factory / pages / boot.php
robin-image-optimizer / libs / factory / pages Last commit date
includes 3 months ago boot.php 5 months ago index.php 3 years ago pages.php 5 months ago
boot.php
44 lines
1 <?php
2 /**
3 * Factory Pages
4 *
5 * @since 1.0.1
6 * @package core
7 */
8
9 // Exit if accessed directly
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13
14 // module provides function only for the admin area
15 if ( ! is_admin() ) {
16 return;
17 }
18
19 if ( defined( 'FACTORY_PAGES_600_LOADED' ) ) {
20 return;
21 }
22
23 define( 'FACTORY_PAGES_600_LOADED', true );
24
25 define( 'FACTORY_PAGES_600_VERSION', '4.8.0' );
26
27 define( 'FACTORY_PAGES_600_DIR', __DIR__ );
28 define( 'FACTORY_PAGES_600_URL', plugins_url( '', __FILE__ ) );
29
30 if ( ! defined( 'FACTORY_FLAT_ADMIN' ) ) {
31 define( 'FACTORY_FLAT_ADMIN', true );
32 }
33
34 add_action(
35 'init',
36 function () {
37 load_plugin_textdomain( 'robin-image-optimizer', false, dirname( plugin_basename( __FILE__ ) ) . '/langs' );
38 }
39 );
40
41 require FACTORY_PAGES_600_DIR . '/pages.php';
42 require FACTORY_PAGES_600_DIR . '/includes/page.class.php';
43 require FACTORY_PAGES_600_DIR . '/includes/admin-page.class.php';
44