20 lines
433 B
PHP
20 lines
433 B
PHP
<?php
|
|
/*
|
|
Addon Name: Generate Disable Elements
|
|
Author: Thomas Usborne
|
|
Author URI: http://edge22.com
|
|
*/
|
|
|
|
// No direct access, please
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
// Define the version
|
|
if ( ! defined( 'GENERATE_DE_VERSION' ) ) {
|
|
define( 'GENERATE_DE_VERSION', GP_PREMIUM_VERSION );
|
|
}
|
|
|
|
// Include functions identical between standalone addon and GP Premium
|
|
require plugin_dir_path( __FILE__ ) . 'functions/functions.php';
|