Current Path : /var/www/ooareogundevinitiative/wp-content/plugins/brizy/editor/ |
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(); } }