-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshortcode-widget.php
More file actions
31 lines (28 loc) · 867 Bytes
/
shortcode-widget.php
File metadata and controls
31 lines (28 loc) · 867 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
<?php
/**
* Plugin Name: Shortcode Widget
* Plugin URI: https://wordpress.org/plugins/shortcode-widget/
* Description: Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
* Version: 1.5.3
* Author: Gagan Deep Singh
* Author URI: https://gagan0123.com
* License: GPLv2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: shortcode-widget
* Domain Path: /languages
*
* @package Shortcode_Widget
*/
if ( ! defined( 'ABSPATH' ) ) {
die;
}
if ( ! defined( 'SHORTCODE_WIDGET_PATH' ) ) {
/**
* Absolute path of this plugin
*
* @since 1.5
*/
define( 'SHORTCODE_WIDGET_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
}
/** Loading the core plugin class */
require_once SHORTCODE_WIDGET_PATH . 'includes/class-shortcode-widget-plugin.php';