Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : compatibility.php
<?php
/**
 * Class Optml_compatibility.
 */
abstract class Optml_compatibility {
	/**
	 * Register compatibility actions/filters.
	 */
	abstract public function register();

	/**
	 * Should we load the compatibility?
	 *
	 * @return bool Compatiblity
	 */
	abstract public function should_load();

	/**
	 * Will the compatibility be loaded?
	 *
	 * @return bool
	 */
	final public function will_load() {
		if ( ! Optml_Main::instance()->admin->settings->is_connected() ) {
			return false;
		}

		return $this->should_load();
	}

	/**
	 * Should we early load the compatibility?
	 *
	 * @return bool Whether to load the compatibility or not.
	 */
	public function should_load_early() {
		return false;
	}
}
© 2025 GrazzMean