PluginProbe
RabbitLoader / 4.0.2
RabbitLoader v4.0.2
4.0.2 4.0.1 4.0 3.2.0 3.1.1 3.1.0 3.0.5 3.0.3 3.0.4 2.17.1 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.7 2.18.0 2.18.1 2.18.2 2.18.3 2.18.4 2.18.5 2.18.6 2.18.7 2.18.8 All 129 releases
rabbit-loader / inc / class-rl-plugin.php

class-rl-plugin.php in RabbitLoader 4.0.2, at inc/class-rl-plugin.php

29 lines 586 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (!defined('ABSPATH')) {
4 exit;
5 }
6
7 final class RL5_Plugin
8 {
9 private static $booted = false;
10
11 public static function init()
12 {
13 if (self::$booted) {
14 return;
15 }
16
17 self::$booted = true;
18 RL5_Admin::init();
19 RL5_Heartbeat::init();
20
21 // Frontend runtime: serve optimized pages + capture misses.
22 // Safe path (template_redirect) — runs after WP loads. The
23 // advanced-cache.php early-serve is a later optimization.
24 if ( ! is_admin() ) {
25 RL5_Runtime::hooks();
26 }
27 }
28 }
29