PluginProbe
Getwid – Gutenberg Blocks / trunk
Getwid – Gutenberg Blocks vtrunk
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 trunk, at getwid.php

47 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: 3.0.1
7 * Requires at least: 7.0
8 * Requires PHP: 7.4
9 * Author: MotoPress
10 * Author URI: https://motopress.com/
11 * License: GPLv2 or later
12 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
13 * Text Domain: getwid
14 * Domain Path: /languages
15 */
16
17 // Exit if accessed directly.
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21
22 if ( ! class_exists( 'Getwid\Getwid' ) ) {
23
24 if ( ! defined( 'GETWID_PLUGIN_FILE' ) ) {
25 define( 'GETWID_PLUGIN_FILE', __FILE__ );
26 }
27 if ( ! defined( 'GETWID_PLUGIN_DIR' ) ) {
28 define( 'GETWID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); // The path with trailing slash
29 }
30 if ( ! defined( 'GETWID_PLUGIN_BASENAME' ) ) {
31 define( 'GETWID_PLUGIN_BASENAME', plugin_basename( GETWID_PLUGIN_FILE ) );
32 }
33 if ( ! defined( 'GETWID_DEBUG' ) ) {
34 define( 'GETWID_DEBUG', false );
35 }
36
37 include_once GETWID_PLUGIN_DIR . 'includes/getwid.php';
38
39 function getwid() {
40 return \Getwid\Getwid::getInstance();
41 }
42
43 // Init Getwid
44 getwid();
45
46 }
47