<?php
/**
 * VtuPress
 * 
 * @package VtuPress Templates
 * @author Akor Victor
 * @copyright 2024 vtupress 
 * @license GPL-3.0-or-later 
 *
 * Plugin Name: VTUpress Templates
 * Plugin URI: http://vtupress.com
 * Description: Include vtupress templates!
 * Version: 1.0.5
 * Requires PHP:  7.4
 * Requires Plugins: vtupress
 * Author: Akor Victor
 * Author URI: https://facebook.com/vtupressceo
 * License:      GPL3
 * License URI:  https://www.gnu.org/licenses/gpl.html
 * Domain Path:  /languages
 */

if(!defined('ABSPATH')){
    die();
}

// Plugin Update Checker (active in original)
require __DIR__ . '/plugin-update-checker/plugin-update-checker.php';
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;

$myUpdateChecker = PucFactory::buildUpdateChecker(
	'https://github.com/bikendi-tech-solutions/vtupress-templates',
	__FILE__,
	'vtupress-templates'
);
//Set the branch that contains the stable release.
$myUpdateChecker->setBranch('main');
//Optional: If you're using a private repository, specify the access token like this:
$myUpdateChecker->setAuthentication('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');

$myUpdateChecker->getVcsApi()->enableReleaseAssets();