PluginProbe
WDesignKit – AI Templates, Widget Builder & MCP Workflow for WordPress / 2.5.2
WDesignKit – AI Templates, Widget Builder & MCP Workflow for WordPress v2.5.2
2.6.5 2.6.4 2.6.3 2.6.2 2.6.1 2.6.0 2.5.5 2.5.4 2.5.3 2.5.2 2.5.1 2.5.0 2.4.0 2.3.3 2.3.2 2.3.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 All 127 releases
wdesignkit / wdesignkit.php

wdesignkit.php in WDesignKit – AI Templates, Widget Builder & MCP Workflow for WordPress 2.5.2, at wdesignkit.php

58 lines 2.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: WDesignKit - Elementor & Gutenberg Starter Templates, Patterns, Cloud Workspace & Widget Builder
4 * Plugin URI: https://wdesignkit.com/
5 * 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.
6 * Version: 2.5.2
7 * Author: POSIMYTH
8 * Author URI: https://posimyth.com/
9 * Text Domain: wdesignkit
10 * Domain Path: /languages
11 * Requires PHP: 7.4
12 * License: GPLv3
13 * License URI: https://opensource.org/licenses/GPL-3.0
14 *
15 * @package wdesignkit
16 */
17
18 /** If this file is called directly, abort. */
19 if ( ! defined( 'ABSPATH' ) ) {
20 exit;
21 }
22
23 if ( version_compare( PHP_VERSION, '7.4', '<' ) ) {
24 add_action(
25 'admin_notices',
26 function () {
27 echo '<div class="notice notice-error"><p>' .
28 sprintf(
29 /* translators: %s: minimum required PHP version */
30 esc_html__( 'WDesignKit requires PHP %s or higher. Please update PHP to use this plugin.', 'wdesignkit' ),
31 '7.4'
32 ) .
33 '</p></div>';
34 }
35 );
36 return;
37 }
38
39 define( 'WDKIT_VERSION', '2.5.2' );
40 define( 'WDKIT_FILE', __FILE__ );
41 define( 'WDKIT_PATH', plugin_dir_path( __FILE__ ) );
42 define( 'WDKIT_PBNAME', plugin_basename( __FILE__ ) );
43 define( 'WDKIT_BDNAME', basename( dirname( __FILE__ )) );
44 define( 'WDKIT_URL', plugins_url( '/', __FILE__ ) );
45 define( 'WDKIT_HOSTURL', site_url() );
46 define( 'WDKIT_INCLUDES', WDKIT_PATH . '/includes/' );
47 define( 'WDKIT_ASSETS', WDKIT_URL . 'assets/' );
48 define( 'WDKIT_TEXT_DOMAIN', 'wdesignkit' );
49 define( 'WDKIT_SERVER_SITE_URL', 'https://wdesignkit.com/' );
50 define( 'WDKIT_SERVER_API_URL', 'https://api.wdesignkit.com/' );
51 define( 'WDKIT_DOCUMENT', 'https://learn.wdesignkit.com/docs/' );
52
53 /** Widget Builder path*/
54 define( 'WDKIT_SERVER_PATH', wp_upload_dir()['baseurl'] . '/wdesignkit' );
55 define( 'WDKIT_BUILDER_PATH', wp_upload_dir()['basedir'] . '/wdesignkit' );
56 define( 'WDKIT_GET_SITE_URL', get_site_url() );
57
58 require WDKIT_PATH . 'includes/class-wdkit-wdesignkit.php';