-
Notifications
You must be signed in to change notification settings - Fork 1
/
sharequote.php
65 lines (59 loc) · 1.97 KB
/
sharequote.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
* ShareQuote
*
* Highlight important content and allow users to easily share it with their network.
*
* @package ShareQuote
* @author Craig Simpson <[email protected]>
* @license GPL-2.0-or-later
* @link https://craigsimpson.scot
* @copyright 2018 Craig Simpson
*
* @wordpress-plugin
* Plugin Name: ShareQuote
* Plugin URI: https://craigsimpson.scot/sharequote
* Description: Highlight important content and allow users to easily share it with their network.
* Version: 1.0.0
* Author: Craig Simpson
* Author URI: https://craigsimpson.scot/
* License: GPL-2.0-or-later
* License URI: https://spdx.org/licenses/GPL-2.0-or-later.html
* Text Domain: ShareQuote
* Domain Path: /languages
*
*
* ShareQuote is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
*
* ShareQuote is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ShareQuote. If not, see https://spdx.org/licenses/GPL-2.0-or-later.html.
*/
namespace ShareQuote;
defined( 'ABSPATH' ) || exit;
// Define plugin constants.
define( 'SHAREQUOTE_VERSION', '1.0.0' );
define( 'SHAREQUOTE_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
define( 'SHAREQUOTE_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
// Load plugin textdomain.
load_plugin_textdomain( 'sharequote', false, '/languages' );
/**
* Load the plugin class.
*
* @since 1.0.0
*/
require_once 'includes/class-sharequote.php';
/**
* Start the engine.
*
* @since 1.0.0
*/
$sharequote = new ShareQuote();
$sharequote->init();