PluginProbe
Getwid – Gutenberg Blocks / 2.1.2
Getwid – Gutenberg Blocks v2.1.2
3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
getwid / getwid.php

getwid.php in Getwid – Gutenberg Blocks 2.1.2, at getwid.php

45 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Getwid
4 * Plugin URI: https://motopress.com/products/getwid/
5 * Description: Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor.
6 * Version: 2.1.2
7 * Author: MotoPress
8 * Author URI: https://motopress.com/
9 * License: GPLv2 or later
10 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 * Text Domain: getwid
12 * Domain Path: /languages
13 */
14
15 // Exit if accessed directly.
16 if ( ! defined( 'ABSPATH' ) ) {
17 exit;
18 }
19
20 if ( !class_exists( 'Getwid\Getwid' ) ) {
21
22 if ( ! defined( 'GETWID_PLUGIN_FILE' ) ) {
23 define( 'GETWID_PLUGIN_FILE', __FILE__ );
24 }
25 if ( ! defined( 'GETWID_PLUGIN_DIR' ) ) {
26 define( 'GETWID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); // The path with trailing slash
27 }
28 if ( ! defined( 'GETWID_PLUGIN_BASENAME' ) ) {
29 define( 'GETWID_PLUGIN_BASENAME', plugin_basename( GETWID_PLUGIN_FILE ) );
30 }
31 if ( ! defined( 'GETWID_DEBUG' ) ) {
32 define( 'GETWID_DEBUG', false );
33 }
34
35 include_once GETWID_PLUGIN_DIR . 'includes/getwid.php';
36
37 function getwid() {
38 return \Getwid\Getwid::getInstance();
39 }
40
41 // Init Getwid
42 getwid();
43
44 }
45