-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.php
More file actions
38 lines (30 loc) · 849 Bytes
/
main.php
File metadata and controls
38 lines (30 loc) · 849 Bytes
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
<?php
/*Plugin Name: bs Cookie Settings
Plugin URI: https://bootscore.me/documantation/bs-cookie-settings/
Description: Plugin adds a cookie modal to Bootscore theme.
Version: 5.6.5
Tested up to: 6.9
Requires at least: 5.0
Requires PHP: 7.4
Author: Bootscore
Author URI: https://bootscore.me
License: MIT License
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
/**
* Update checker
*/
require 'inc/update/plugin-update-checker.php';
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
$myUpdateChecker = PucFactory::buildUpdateChecker(
'https://github.com/bootscore/bs-cookie-settings/',
__FILE__,
'bs-cookie-settings'
);
//Set the branch that contains the stable release.
$myUpdateChecker->setBranch('main');
/**
* Load required files
*/
require_once plugin_dir_path( __FILE__ ) . 'inc/enqueue.php'; // Scripts & styles