updated plugin GP Premium version 1.11.2

This commit is contained in:
2020-08-13 14:53:39 +00:00
committed by Gitium
parent 3f0f8d3ac9
commit 885bbdd113
151 changed files with 11329 additions and 6954 deletions

View File

@ -1,28 +1,20 @@
<?php
/*
Add-on Name: Generate Menu Plus
Author: Thomas Usborne
Author URI: http://edge22.com
*/
/**
* The Menu Plus module.
*
* @since 1.0.0
*
* @package GP Premium
*/
// No direct access, please
if ( ! defined( 'ABSPATH' ) ) {
exit;
exit; // No direct access, please.
}
// Define the version
// Define the version.
if ( ! defined( 'GENERATE_MENU_PLUS_VERSION' ) ) {
define( 'GENERATE_MENU_PLUS_VERSION', GP_PREMIUM_VERSION );
}
// Include functions identical between standalone add-on and GP Premium
// Include functions identical between standalone add-on and GP Premium.
require plugin_dir_path( __FILE__ ) . 'functions/generate-menu-plus.php';
// Set up language files
if ( ! function_exists( 'generate_menu_plus_init' ) ) {
add_action( 'plugins_loaded', 'generate_menu_plus_init' );
function generate_menu_plus_init() {
load_plugin_textdomain( 'menu-plus', false, 'gp-premium/langs/menu-plus/' );
}
}