-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlease-boot-button.php
47 lines (42 loc) · 1.13 KB
/
lease-boot-button.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* Autive - Lease Boot Button plugin
*
* @package Autive_LeaseBootButton
* @version 1.0.3
* @author Autive <[email protected]>
* @license GPL-2.0+
* @link https://www.autive.nl
* @copyright 2023 Autive
*
* @wordpress-plugin
*
* Plugin Name: Lease Boot Button plugin
* Plugin URI: https://www.leaseboot.com
* Description: A plugin to add the leaseboot.com button to a website.
* Version: 1.0.3
* Requires at least: 5.8
* Requires PHP: 8.0
* Author: Autive
* Author URI: https://autive.nl
* License: GPL-2.0+
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: autive-lbb
* Domain Path: /languages
*/
use Autive\LeaseBootButton\Plugin;
// If this file is called directly, abort.
if (!defined('WPINC')) {
die;
}
const LEASE_BOOT_BUTTON_VERSION = '1.0.3';
try {
require_once trailingslashit(__DIR__) . 'src/Plugin.php';
new Plugin();
} catch (Exception $exception) {
error_log( print_r( [
'plugin' => 'lease-boot-button',
'exception' => $exception,
'class' => get_class($exception),
], true ) );
}