-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathplugin.php
46 lines (43 loc) · 1.59 KB
/
plugin.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
/**
* Genesis eNews Extended
*
* @package BJGK\Genesis_enews_extended
* @version 2.2.0
* @author Brandon Kraft <[email protected]>
* @copyright Copyright (c) 2012-2020, Brandon Kraft
* @link https://kraft.blog/genesis-enews-extended/
* @license GPL-2.0+
*
* @wordpress-plugin
* Plugin Name: Genesis eNews Extended
* Plugin URI: https://kraft.blog/genesis-enews-extended/
* Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
* Version: 2.2.0
* Author: Brandon Kraft
* Author URI: https://kraft.blog/
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* Text Domain: genesis-enews-extended
* Domain Path: /languages
*/
/**
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License version 2, as published by the Free Software Foundation. You may NOT assume
* that you can use any other version of the GPL.
*
* This program 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.
*
* Code based on original eNews Widget in the Genesis Framework by StudioPress - http://www.studiopress.com
*/
require plugin_dir_path( __FILE__ ) . 'class-bjgk-genesis-enews-extended.php';
add_action( 'widgets_init', 'bjgk_genesis_enews_load_widgets' );
/**
* Register widget.
*
* @since 0.1.0
*/
function bjgk_genesis_enews_load_widgets() {
register_widget( 'BJGK_Genesis_ENews_Extended' );
}