# getwid/3.0.2/getwid.php

Getwid – Gutenberg Blocks, version 3.0.2. 47 lines.

- Page: https://pluginprobe.com/plugins/getwid/3.0.2/code/getwid.php
- Raw: https://pluginprobe.com/plugins/getwid/3.0.2/raw/getwid.php
- Modified: 2026-09-16T12:26:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/getwid/3.0.2/code/getwid.php#L10-L20`.

```php
<?php
/**
 * Plugin Name: Getwid
 * Plugin URI: https://motopress.com/products/getwid/
 * Description: Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor.
 * Version: 3.0.2
 * Requires at least: 7.0
 * Requires PHP: 7.4
 * Author: MotoPress
 * Author URI: https://motopress.com/
 * License: GPLv2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: getwid
 * Domain Path: /languages
 */

//  Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'Getwid\Getwid' ) ) {

	if ( ! defined( 'GETWID_PLUGIN_FILE' ) ) {
		define( 'GETWID_PLUGIN_FILE', __FILE__ );
	}
	if ( ! defined( 'GETWID_PLUGIN_DIR' ) ) {
		define( 'GETWID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); // The path with trailing slash
	}
	if ( ! defined( 'GETWID_PLUGIN_BASENAME' ) ) {
		define( 'GETWID_PLUGIN_BASENAME', plugin_basename( GETWID_PLUGIN_FILE ) );
	}
	if ( ! defined( 'GETWID_DEBUG' ) ) {
		define( 'GETWID_DEBUG', false );
	}

	include_once GETWID_PLUGIN_DIR . 'includes/getwid.php';

	function getwid() {
		return \Getwid\Getwid::getInstance();
	}

	// Init Getwid
	getwid();

}

```
