All checks were successful
Build & Release Plugin / release (push) Successful in 8s
54 lines
1.6 KiB
PHP
54 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* Plugin Name: Siti Wash Instructions
|
|
*
|
|
* @package PluginPackage
|
|
* @author Roberto Guagliardo | SitiWeb
|
|
* @copyright 2019 Roberto Guagliardo | SitiWeb
|
|
* @license GPL-2.0-or-later
|
|
*
|
|
* @wordpress-plugin
|
|
* Plugin Name: Siti Wash Instructions
|
|
* Plugin URI: https://plugins.robert.ooo/plugin/
|
|
* Description: Voeg wasinstructies toe aan producten en merken in WooCommerce.
|
|
* Version: 1.0.0
|
|
* Requires at least: 5.2
|
|
* Requires PHP: 7.2
|
|
* Author: Roberto Guagliardo | SitiWeb
|
|
* Author URI: https://sitiweb.nl/
|
|
* Text Domain: siti-wash-instructions
|
|
* License: GPL v2 or later
|
|
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
|
* Update URI: https://example.com/my-plugin/
|
|
* Requires Plugins: my-plugin, yet-another-plugin
|
|
*/
|
|
if (!defined('ABSPATH')) {
|
|
exit;
|
|
}
|
|
|
|
if (!defined('SITI_WASH_INSTRUCTIONS_VERSION')) {
|
|
$plugin_data = get_file_data(
|
|
__FILE__,
|
|
[
|
|
'Version' => 'Version',
|
|
],
|
|
false
|
|
);
|
|
|
|
$plugin_version = isset($plugin_data['Version']) && $plugin_data['Version'] ? $plugin_data['Version'] : '1.0.0';
|
|
define('SITI_WASH_INSTRUCTIONS_VERSION', $plugin_version);
|
|
}
|
|
|
|
if (!class_exists('SitiWebUpdater2')) {
|
|
include_once(plugin_dir_path(__FILE__) . 'includes/SitiWebUpdater2.php');
|
|
}
|
|
|
|
$updater = new SitiWebUpdater2(__FILE__);
|
|
$updater->set_owner('roberto');
|
|
$updater->set_repository('siti-wash-instructions');
|
|
$updater->initialize();
|
|
|
|
include_once plugin_dir_path(__FILE__) . 'includes/SitiWashInstructions.php';
|
|
|
|
SitiWashInstructions::init();
|