2020-04-07 13:03:04 +00:00
|
|
|
<?php
|
2020-08-13 14:53:39 +00:00
|
|
|
/**
|
|
|
|
* The Disable Elements module.
|
|
|
|
*
|
|
|
|
* @since 1.0.0
|
|
|
|
*
|
|
|
|
* @package GP Premium
|
|
|
|
*/
|
2020-04-07 13:03:04 +00:00
|
|
|
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
2020-08-13 14:53:39 +00:00
|
|
|
exit; // No direct access, please.
|
2020-04-07 13:03:04 +00:00
|
|
|
}
|
|
|
|
|
2020-08-13 14:53:39 +00:00
|
|
|
// Define the version.
|
2020-04-07 13:03:04 +00:00
|
|
|
if ( ! defined( 'GENERATE_DE_VERSION' ) ) {
|
|
|
|
define( 'GENERATE_DE_VERSION', GP_PREMIUM_VERSION );
|
|
|
|
}
|
|
|
|
|
2020-08-13 14:53:39 +00:00
|
|
|
// Include functions identical between standalone addon and GP Premium.
|
2020-04-07 13:03:04 +00:00
|
|
|
require plugin_dir_path( __FILE__ ) . 'functions/functions.php';
|