41 lines
1.6 KiB
PHP
41 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* Plugin Name: Font del Bosc — Combustible
|
|
* Plugin URI: https://git.robotstxt.es/ROBOTSTXT/fontdelbosc-combustible
|
|
* Description: Fuel prices at nearby petrol stations for Font del Bosc (Mediona, Alt Penedès).
|
|
* Version: 1.0.0
|
|
* Requires at least: 6.4
|
|
* Requires PHP: 8.2
|
|
* Author: ROBOTSTXT
|
|
* Author URI: https://www.robotstxt.es
|
|
* License: GPL-3.0-or-later
|
|
* Text Domain: fontdelbosc-combustible
|
|
* Domain Path: /languages
|
|
*
|
|
* Plugin bootstrap: loads the classes and wires the singleton.
|
|
*
|
|
* @package FontdelboscCombustible
|
|
*/
|
|
|
|
declare( strict_types=1 );
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
define( 'FONTDELBOSC_COMBUSTIBLE_VERSION', '1.0.0' );
|
|
define( 'FONTDELBOSC_COMBUSTIBLE_FILE', __FILE__ );
|
|
define( 'FONTDELBOSC_COMBUSTIBLE_DIR', plugin_dir_path( __FILE__ ) );
|
|
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-payload.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-fuels.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-geo.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-api.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-data-manager.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-shortcode.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-widget.php';
|
|
require_once __DIR__ . '/includes/class-fontdelbosc-combustible-plugin.php';
|
|
|
|
if ( is_admin() ) {
|
|
require_once __DIR__ . '/admin/class-fontdelbosc-combustible-admin.php';
|
|
}
|
|
|
|
Fontdelbosc_Combustible_Plugin::instance();
|