• File: index.php
  • Full Path: /home/matthif/www/wp-content/plugins/uber-grid/index.php
  • Date Modified: 03/16/2023 5:23 PM
  • File size: 1.05 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/*
Plugin Name: Portfolio Gallery
Plugin URI: https://portfoliohub.io
Description: Coming up with the most searchable and creative wordpress portfolio gallery plugin.
Version: 1.1.7
Author: portfoliohub
Author URI: https://portfoliohub.io/
License: GPLv2 or later
Text Domain: pfhub_portfolio
Domain Path: /languages
*/

if ( ! defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly
}

define('PFHUB_PORTFOLIO_VERSION''1.1.7');
define('PFHUB_PORTFOLIO_PLUGIN_PATH'dirname(__FILE__));
define('PFHUB_PORTFOLIO_PLUGIN_URL'plugin_dir_url(__FILE__));
define('PFHUB_PORTFOLIO_IMAGES_URL'untrailingslashit(PFHUB_PORTFOLIO_PLUGIN_URL 'assets/images/' ));
define('PFHUB_PORTFOLIO_TEMPLATES_PATH'PFHUB_PORTFOLIO_PLUGIN_PATH DIRECTORY_SEPARATOR 'src' DIRECTORY_SEPARATOR 'views');
define("PFHUB_PORTFOLIO_ADM_PATH"str_replaceget_bloginfo'url' ) . '/'ABSPATHget_admin_url() ));



require_once(
__DIR__ DIRECTORY_SEPARATOR "lib" DIRECTORY_SEPARATOR "autoload.php");

$GLOBALS['pfhub_portfolio'] = new \PfhubPortfolio\PfhubPortfolio();