-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwp-basic-google-maps.php
More file actions
45 lines (37 loc) · 1.38 KB
/
Copy pathwp-basic-google-maps.php
File metadata and controls
45 lines (37 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/*
Plugin Name: WordPress Basic Google Maps
Plugin URI: https://github.com/pavelrampas/wp-basic-google-maps
Description: Google map with custom pins.
Version: 1.0.0
Author: Pavel Rampas
Author URI: https://pavelrampas.cz/
Text Domain: wp-basic-google-maps
Domain Path: /languages
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WordPress Basic Google Maps is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
any later version.
WordPress Basic Google Maps is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WordPress Basic Google Maps.
If not, see https://www.gnu.org/licenses/gpl-2.0.html.
*/
if ( ! defined( 'ABSPATH' ) ) {
die;
}
load_plugin_textdomain(
'wp-basic-google-maps',
false,
plugin_basename( dirname( __FILE__ ) ) . '/languages'
);
register_activation_hook( __FILE__, [ 'Wp_Basic_Google_Maps', 'activate' ] );
if ( ! class_exists( 'Wp_Basic_Google_Maps' ) ) {
include_once ( 'class-wp-basic-google-maps.php' );
new Wp_Basic_Google_Maps();
}