public function __construct()
{
if (!defined('ABSPATH')) {
return;
}
if (class_exists('\\WP') && !defined('TIMBER_LOADED')) {
$this->test_compatibility();
$this->backwards_compatibility();
$this->init_constants();
self::init();
}
}