| @@ -1,17 +1,16 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Plugin Name: WDesignKit - Elementor & Gutenberg Starter Templates, Patterns, Cloud Workspace & Widget Builder | |
| 3 | + * Plugin Name: WDesignKit | |
| 4 | 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.6.2 | |
| 5 | + * Description: Build WordPress websites in no time using wdesignkit's collection of website templates & Widgets, Widget Builder for Elementor, Block Builder for Gutenberg and many more feature to improve your web design process. | |
| 6 | + * Version: 1.0.21 | |
| 7 | 7 | * Author: POSIMYTH |
| 8 | 8 | * Author URI: https://posimyth.com/ |
| 9 | 9 | * Text Domain: wdesignkit |
| 10 | 10 | * Domain Path: /languages |
| 11 | - * Requires PHP: 7.4 | |
| 12 | - * License: GPLv3 | |
| 13 | - * License URI: https://opensource.org/licenses/GPL-3.0 | |
| 11 | + * License: GPLv2 | |
| 12 | + * License URI: https://www.gnu.org/licenses/gpl-2.0.html | |
| 14 | 13 | * |
| 15 | 14 | * @package wdesignkit |
| 16 | 15 | */ |
| 17 | 16 | |
| @@ -19,25 +18,9 @@ | ||
| 19 | 18 | if ( ! defined( 'ABSPATH' ) ) { |
| 20 | 19 | exit; |
| 21 | 20 | } |
| 22 | 21 | |
| 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.6.2' ); | |
| 22 | +define( 'WDKIT_VERSION', '1.0.21' ); | |
| 40 | 23 | define( 'WDKIT_FILE', __FILE__ ); |
| 41 | 24 | define( 'WDKIT_PATH', plugin_dir_path( __FILE__ ) ); |
| 42 | 25 | define( 'WDKIT_PBNAME', plugin_basename( __FILE__ ) ); |
| 43 | 26 | define( 'WDKIT_BDNAME', basename( dirname( __FILE__ )) ); |
| @@ -46,10 +29,8 @@ | ||
| 46 | 29 | define( 'WDKIT_INCLUDES', WDKIT_PATH . '/includes/' ); |
| 47 | 30 | define( 'WDKIT_ASSETS', WDKIT_URL . 'assets/' ); |
| 48 | 31 | define( 'WDKIT_TEXT_DOMAIN', 'wdesignkit' ); |
| 49 | 32 | 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 | 33 | |
| 53 | 34 | /** Widget Builder path*/ |
| 54 | 35 | define( 'WDKIT_SERVER_PATH', wp_upload_dir()['baseurl'] . '/wdesignkit' ); |
| 55 | 36 | define( 'WDKIT_BUILDER_PATH', wp_upload_dir()['basedir'] . '/wdesignkit' ); |