PluginProbe
SVGator / trunk
SVGator vtrunk
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 trunk, at svgator.php

49 lines 1.5 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.4.0
7 * Requires at least: 5.9
8 * Requires PHP: 7.4
9 * Author: SVGator
10 * Author URI: https://www.svgator.com
11 * Text Domain: svgator
12 * License: GPL 2
13 *
14 * @package Svgator.com
15 */
16
17 /*
18 Copyright © 2024 Smartketer LLC
19 This program is free software; you can redistribute it
20 under the terms of the GNU General Public License as published by
21 the Free Software Foundation; either version 2 of the License, or
22 (at your option) any later version.
23
24 This program is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS PARTICULAR PURPOSE.
27 See GNU General Public License for more details.
28
29 You should have received a copy of the GNU General Public License
30 along with this program; if not, write to the Free Software
31 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 */
33
34 use WP_SVGator\Main;
35
36 //If this file is called directly, abort.
37 if ( ! defined( 'WPINC' ) ) {
38 die;
39 }
40
41 const WP_SVGATOR_VERSION = '1.4.0';
42 define( 'WP_SVGATOR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
43 define( 'WP_SVGATOR_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
44
45 require WP_SVGATOR_PLUGIN_DIR . 'includes/autoload.php';
46 Main::run();
47
48 register_deactivation_hook( __FILE__, [ '\WP_SVGator\Main', 'deactivator' ] );
49