# optimole-wp/3.0.0/inc/compatibilities/compatibility.php

Optimole – Optimize Images | Convert WebP &amp; AVIF | CDN &amp; Lazy Load | Image Optimization, version 3.0.0. 26 lines.

- Page: https://pluginprobe.com/plugins/optimole-wp/3.0.0/code/inc/compatibilities/compatibility.php
- Raw: https://pluginprobe.com/plugins/optimole-wp/3.0.0/raw/inc/compatibilities/compatibility.php
- Modified: 2020-12-17T13:29:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/optimole-wp/3.0.0/code/inc/compatibilities/compatibility.php#L10-L20`.

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

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

```
