PluginProbe
SVGator / 1.2.6
SVGator v1.2.6
trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0
svgator / svgator.php

svgator.php in SVGator 1.2.6, at svgator.php

44 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: SVGator
4 * Plugin URI: https://www.svgator.com/help/getting-started/how-to-add-svg-to-wordpress
5 * Description: Import your animated SVGs from SVGator.com
6 * Version: 1.2.6
7 * Author: SVGator
8 * Author URI: https://www.svgator.com
9 * License: GPL 2
10 *
11 * @package Svgator.com
12 */
13
14 /*
15 Copyright 2020 Smartware INC.
16 This program is free software; you can redistribute it
17 under the terms of the GNU General Public License as published by
18 the Free Software Foundation; either version 2 of the License, or
19 (at your option) any later version.
20
21 This program is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS PARTICULAR PURPOSE.
24 See GNU General Public License for more details.
25
26 You should have received a copy of the GNU General Public License
27 along with this program; if not, write to the Free Software
28 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 */
30
31 //If this file is called directly, abort.
32 if(!defined('WPINC')) {
33 die;
34 }
35
36 define('WP_SVGATOR_VERSION', '1.2.6');
37 define('WP_SVGATOR_PLUGIN_DIR', plugin_dir_path(__FILE__));
38 define('WP_SVGATOR_PLUGIN_URL', plugin_dir_url(__FILE__));
39
40 require WP_SVGATOR_PLUGIN_DIR . 'includes/autoload.php';
41 \WP_SVGator\Main::run();
42
43 register_deactivation_hook(__FILE__, ['\WP_SVGator\Main', 'deactivator']);
44