-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility for WP 6.6 and refactor the integration with Elementor.
- Loading branch information
Showing
8 changed files
with
158 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,13 @@ | |
* Description: Premium Google Map features for WordPress. | ||
* Author: Ali Ali | ||
* Author URI: https://github.com/Ali7Ali | ||
* Version: 1.1.0 | ||
* Version: 1.2.0 | ||
* Text Domain: alpha-google-map-for-elementor | ||
* Domain Path: /languages | ||
* License: GPLv3 | ||
* | ||
* | ||
* @package alpha-google-map-for-elementor | ||
*/ | ||
* */ | ||
|
||
/* | ||
Copyright 2021 Ali Ali (email : [email protected]) | ||
|
@@ -37,13 +36,22 @@ | |
exit; // Exit if accessed directly. | ||
} | ||
|
||
define('ALPHAMAP_VERSION', '1.1.0'); | ||
define('ALPHAMAP_VERSION', '1.2.0'); | ||
define('ALPHAMAP_ADDONS_PL_ROOT', __FILE__); | ||
define('ALPHAMAP_PL_URL', plugins_url('/', ALPHAMAP_ADDONS_PL_ROOT)); | ||
define('ALPHAMAP_PL_PATH', plugin_dir_path(ALPHAMAP_ADDONS_PL_ROOT)); | ||
define('ALPHAMAP_PL_ASSETS', trailingslashit(ALPHAMAP_PL_URL . 'assets')); | ||
define('ALPHAMAP_PL_INCLUDE', trailingslashit(ALPHAMAP_PL_PATH . 'include')); | ||
define('ALPHAMAP_PL_LANGUAGES', trailingslashit(ALPHAMAP_PL_PATH . 'languages')); | ||
define('ALPHAMAP_PLUGIN_BASE', plugin_basename(ALPHAMAP_ADDONS_PL_ROOT)); | ||
|
||
// Required File. | ||
require ALPHAMAP_PL_INCLUDE . '/class-alpha-google-map.php'; | ||
function alpha_google_map_addon() | ||
{ | ||
|
||
// Load plugin file | ||
require_once(ALPHAMAP_PL_INCLUDE . '/class-alpha-google-map.php'); | ||
|
||
// Run the plugin | ||
\Elementor_Alpha_Google_Map_Addon\Alpha_Google_Map::instance(); | ||
} | ||
add_action('plugins_loaded', 'alpha_google_map_addon'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.