-
Notifications
You must be signed in to change notification settings - Fork 0
/
coop-overdrive-carousel.php
47 lines (41 loc) · 1.34 KB
/
coop-overdrive-carousel.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
47
<?php
/**
* Coop OverDrive Carousel Widget
*
* Carousel of new titles on OverDrive
*
* PHP Version 7
*
* @package BCLibCoop\OverdriveCarousel
* @author Erik Stainsby <[email protected]>
* @author Jon Whipple <[email protected]>
* @author Jonathan Schatz <[email protected]>
* @author Sam Edwards <[email protected]>
* @copyright 2013-2022 BC Libraries Cooperative
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: Coop OverDrive Carousel Widget
* Description: Carousel of new titles on OverDrive
* Version: 4.1.0
* Network: true
* Requires at least: 5.2
* Requires PHP: 7.0
* Author: BC Libraries Cooperative
* Author URI: https://bc.libraries.coop
* Text Domain: coop-overdrive-carousel
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
namespace BCLibCoop\OverdriveCarousel;
defined('ABSPATH') || die(-1);
define('COOP_OVERDRIVE_PLUGIN_FILE', __FILE__);
/**
* Require Composer autoloader if installed on it's own
*/
if (file_exists($composer = __DIR__ . '/vendor/autoload.php')) {
require_once $composer;
}
add_action('plugins_loaded', function () {
new OverdriveCarousel();
});