-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuper-light-store-hours.php
47 lines (42 loc) · 1.24 KB
/
super-light-store-hours.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
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link https://mwale.me
* @since 1.0.0
* @package Super_Light_Store_Hours
*
* @wordpress-plugin
* Plugin Name: Super Light Store Hours
* Description: Disable your store during fixed hours of the week or whenever you wish to pause orders.
* Version: 0.0.1
* Author: Mwale Kalenga
* Author URI: https://mwale.me
* License: GPLv3 or later
* Text Domain: super-light-store-hours
* Domain Path: /languages
*/
namespace MwaleMe\Super_Light_Store_Hours;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require __DIR__ . '/includes/class-super-light-store-hours.php';
/**
* Begins execution of the plugin.
*
* @return void
*/
function run_super_light_store_hours() {
$plugin = new Super_Light_Store_Hours();
}
run_super_light_store_hours();