# wdesignkit/2.5.1/wdesignkit.php

WDesignKit – AI Templates, Widget Builder &amp; MCP Workflow, version 2.5.1. 58 lines.

- Page: https://pluginprobe.com/plugins/wdesignkit/2.5.1/code/wdesignkit.php
- Raw: https://pluginprobe.com/plugins/wdesignkit/2.5.1/raw/wdesignkit.php
- Modified: 2026-06-05T14:03:06+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/wdesignkit/2.5.1/code/wdesignkit.php#L10-L20`.

```php
<?php
/**
 * Plugin Name: WDesignKit - Elementor & Gutenberg Starter Templates, Patterns, Cloud Workspace & Widget Builder
 * Plugin URI: https://wdesignkit.com/
 * Description: Your All-in-One solution for effortless WordPress website creation and collaboration. With over 1,000+ Elementor and WordPress website templates, a library of 100+ pre-made widgets for Elementor, Gutenberg Blocks, and Bricks, along with a cloud workspace for collaboration and more.
 * Version: 2.5.1
 * Author: POSIMYTH
 * Author URI: https://posimyth.com/
 * Text Domain: wdesignkit
 * Domain Path: /languages
 * Requires PHP: 7.4
 * License: GPLv3
 * License URI: https://opensource.org/licenses/GPL-3.0
 *
 * @package wdesignkit
 */

/** If this file is called directly, abort. */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( version_compare( PHP_VERSION, '7.4', '<' ) ) {
	add_action(
		'admin_notices',
		function () {
			echo '<div class="notice notice-error"><p>' .
				sprintf(
					/* translators: %s: minimum required PHP version */
					esc_html__( 'WDesignKit requires PHP %s or higher. Please update PHP to use this plugin.', 'wdesignkit' ),
					'7.4'
				) .
				'</p></div>';
		}
	);
	return;
}

define( 'WDKIT_VERSION', '2.5.1' );
define( 'WDKIT_FILE', __FILE__ );
define( 'WDKIT_PATH', plugin_dir_path( __FILE__ ) );
define( 'WDKIT_PBNAME', plugin_basename( __FILE__ ) );
define( 'WDKIT_BDNAME', basename( dirname( __FILE__ )) );
define( 'WDKIT_URL', plugins_url( '/', __FILE__ ) );
define( 'WDKIT_HOSTURL', site_url() );
define( 'WDKIT_INCLUDES', WDKIT_PATH . '/includes/' );
define( 'WDKIT_ASSETS', WDKIT_URL . 'assets/' );
define( 'WDKIT_TEXT_DOMAIN', 'wdesignkit' );
define( 'WDKIT_SERVER_SITE_URL', 'https://wdesignkit.com/' );
define( 'WDKIT_SERVER_API_URL', 'https://api.wdesignkit.com/' );
define( 'WDKIT_DOCUMENT', 'https://learn.wdesignkit.com/docs/' );

/** Widget Builder path*/
define( 'WDKIT_SERVER_PATH', wp_upload_dir()['baseurl'] . '/wdesignkit' );
define( 'WDKIT_BUILDER_PATH', wp_upload_dir()['basedir'] . '/wdesignkit' );
define( 'WDKIT_GET_SITE_URL', get_site_url() );

require WDKIT_PATH . 'includes/class-wdkit-wdesignkit.php';
```
