PATH:
home
/
letacommog
/
compagnons-reunion
/
wp-content
/
plugins
/
gdpr-cookie-compliance
<?php /** * GDPR_Modules_View File Doc Comment * * @category GDPR_Modules_View * @package gdpr-cookie-compliance * @author Gaspar Nemes */ if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly /** * GDPR_Modules_View Class Doc Comment * * @category Class * @package GDPR_Modules_View * @author Gaspar Nemes */ class GDPR_Modules_View { /** * Load and update view * * Parameters: * * @param string $view // the view to load, dot used as directory separator, no file extension given. * @param mixed $content // The data to display in the view (could be anything, even an object). */ public static function load( $view, $content ) { $view_file_origin = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'gdpr-modules'; $view_name = str_replace( '.', DIRECTORY_SEPARATOR, $view ) . '.php'; $locate_template = locate_template( 'gdpr-modules' . DIRECTORY_SEPARATOR . $view_name ); $view_file_origin = $locate_template ? $locate_template : $view_file_origin . DIRECTORY_SEPARATOR . $view_name; if ( file_exists( $view_file_origin ) ) : ob_start(); include $view_file_origin; return ob_get_clean(); endif; } }
[+]
..
[-] class-gdpr-modules-view.php
[edit]
[-] gdpr-functions.php
[edit]
[+]
gdpr-modules
[-] class-moove-gdpr-options.php
[edit]
[+]
dist
[+]
controllers
[-] moove-gdpr.php
[edit]
[-] class-gdpr-view.php
[edit]
[-] class-gdpr-modules.php
[edit]
[-] readme.txt
[edit]
[-] class-moove-gdpr-content.php
[edit]
[+]
languages
[+]
views
[-] class-moove-gdpr-actions.php
[edit]