PluginProbe
SVGator / 1.3.1
SVGator v1.3.1
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.3.1, at svgator.php

46 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.3.1
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 use WP_SVGator\Main;
32
33 //If this file is called directly, abort.
34 if ( ! defined( 'WPINC' ) ) {
35 die;
36 }
37
38 const WP_SVGATOR_VERSION = '1.3.1';
39 define( 'WP_SVGATOR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
40 define( 'WP_SVGATOR_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
41
42 require WP_SVGATOR_PLUGIN_DIR . 'includes/autoload.php';
43 Main::run();
44
45 register_deactivation_hook( __FILE__, [ '\WP_SVGator\Main', 'deactivator' ] );
46