Your IP : 216.73.216.201


Current Path : /var/www/ooareogundevinitiative/wp-content/plugins/brizy/editor/
Upload File :
Current File : /var/www/ooareogundevinitiative/wp-content/plugins/brizy/editor/view.php

<?php if ( ! defined( 'ABSPATH' ) ) {
	die( 'Direct access forbidden.' );
}

class Brizy_Editor_View {
	public static function render( $path,  $args = array() ) {
		$file = $path . '.php';

		if ( ! file_exists( $file ) ) {
			return;
		}

		extract( $args );
		include $file;
	}

	public static function get( $path,  $args = array() ) {
		ob_start();
			self::render( $path, $args );
		return ob_get_clean();
	}
}