2020-04-07 13:03:04 +00:00
|
|
|
<?php
|
2020-08-13 14:53:39 +00:00
|
|
|
/**
|
|
|
|
* The Menu Plus 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_MENU_PLUS_VERSION' ) ) {
|
|
|
|
define( 'GENERATE_MENU_PLUS_VERSION', GP_PREMIUM_VERSION );
|
|
|
|
}
|
|
|
|
|
2020-08-13 14:53:39 +00:00
|
|
|
// Include functions identical between standalone add-on and GP Premium.
|
2020-04-07 13:03:04 +00:00
|
|
|
require plugin_dir_path( __FILE__ ) . 'functions/generate-menu-plus.php';
|