• File: ViewHelper.php
  • Full Path: /home/atelipy/www/wpmain/plugins/duplicator/src/Views/ViewHelper.php
  • File size: 471 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/**
 * @package Duplicator
 */

namespace Duplicator\Views;

use Duplicator\Core\Controllers\ControllersManager;
use Duplicator\Core\Views\TplMng;

class ViewHelper
{
    /**
     * Display Duplicator Logo on all pages
     *
     * @return void
     */
    public static function adminLogoHeader()
    {
        if (!ControllersManager::isDuplicatorPage()) {
            return;
        }
        TplMng::getInstance()->render('parts/admin-logo-header');
    }
}