# shortcode-variables/3.2/shortcode-variables.php

Snippet Shortcodes, version 3.2. 61 lines.

- Page: https://pluginprobe.com/plugins/shortcode-variables/3.2/code/shortcode-variables.php
- Raw: https://pluginprobe.com/plugins/shortcode-variables/3.2/raw/shortcode-variables.php
- Modified: 2020-05-30T20:08:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shortcode-variables/3.2/code/shortcode-variables.php#L10-L20`.

```php
<?php

defined('ABSPATH') or die("Jog on!");

/**
 * Plugin Name: Shortcode Variables
 * Description: Create your own shortcodes and assign text / variables to it or use our premade ones. You can then embed these shortcodes throughout your entire site and only have to change the value in one place.
 * Version: 3.2
 * Author: YeKen
 * Author URI: http://www.YeKen.uk
 * License: GPL2
 * Text Domain: shortcode-variables
 */
/*  Copyright 2020 YeKen.uk

    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.

    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.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

define( 'SH_CD_ABSPATH', plugin_dir_path( __FILE__ ) );

define( 'SH_CD_PLUGIN_VERSION', '3.2' );
define( 'SH_CD_PLUGIN_NAME', 'Shortcode Variables' );
define( 'SH_CD_TABLE', 'SH_CD_SHORTCODES' );
define( 'SH_CD_TABLE_MULTISITE', 'SH_CD_SHORTCODES_MULTISITE' );
define( 'SH_CD_SLUG', 'sh-cd-shortcode-variables' );
define( 'SH_CD_PREFIX', 'sh-cd-' );
define( 'SH_CD_SHORTCODE', 'sv' );
define( 'SH_CD_PREMIUM_PRICE', 10.00 );
define( 'SH_CD_UPGRADE_LINK', 'https://sv.yeken.uk/upgrade' );

// -----------------------------------------------------------------------------------------
// AC: Include all relevant PHP files
// -----------------------------------------------------------------------------------------

include_once SH_CD_ABSPATH . 'includes/class.presets.php';
include_once SH_CD_ABSPATH . 'includes/hooks.php';
include_once SH_CD_ABSPATH . 'includes/functions.php';
include_once SH_CD_ABSPATH . 'includes/db.php';
include_once SH_CD_ABSPATH . 'includes/cron.php';
include_once SH_CD_ABSPATH . 'includes/license.php';
include_once SH_CD_ABSPATH . 'includes/shortcode.user.php';
include_once SH_CD_ABSPATH . 'includes/shortcode.presets.core.php';
include_once SH_CD_ABSPATH . 'includes/shortcode.presets.free.php';
include_once SH_CD_ABSPATH . 'includes/shortcode.presets.premium.php';
include_once SH_CD_ABSPATH . 'includes/pages/pages.list.php';
include_once SH_CD_ABSPATH . 'includes/pages/pages.premade.php';
include_once SH_CD_ABSPATH . 'includes/pages/pages.edit.php';
include_once SH_CD_ABSPATH . 'includes/pages/pages.license.php';
include_once SH_CD_ABSPATH . 'includes/tinymce.php';

```
