SILENT KILLERPanel

Current Path: > home > transcarter > public_html > > > > wp-content > plugins > elementskit-lite > libs > template


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html////wp-content/plugins/elementskit-lite/libs/template

NameTypeSizeLast ModifiedActions
loader.php File 767 bytes July 17 2025 21:06:24.
transformer.php File 975 bytes July 17 2025 21:06:24.

Reading File: /home/transcarter/public_html////wp-content/plugins/elementskit-lite/libs/template/loader.php

<?php
namespace ElementsKit_Lite\Libs\Template;

defined( 'ABSPATH' ) || exit;

require 'transformer.php';

class Loader {

	private $transformer;
	
	function __construct() {
		$this->transformer = new Transformer();
	}

	public function replace_tags( $string, $prefix, $force_lower = false ) {
		return preg_replace_callback(
			'/\\{\\{([^{}]+)\}\\}/',
			function( $matches ) use ( $force_lower, $prefix ) {

				return $this->transformer->render( $matches[1], $prefix );
			},
			$string
		);
	}

	private function tag_list() {
		return array();
	}




	/**
	 * Get the instance.
	 */
	private static $instance = null;
	
	public static function instance() {
		if ( self::$instance == null ) {
			self::$instance = new self();
		}

		return self::$instance;
	}

}

SILENT KILLER Tool