This commit is contained in:
2025-11-18 16:39:33 +00:00
parent c70394d367
commit df1f90c6cd
9673 changed files with 3464697 additions and 34 deletions
@@ -0,0 +1,9 @@
<?php
namespace ElementsKit_Lite\Helpers;
defined( 'ABSPATH' ) || exit;
class Module_List extends \ElementsKit_Lite\Config\Module_List {
//
}
@@ -0,0 +1,53 @@
<?php
if ( ! class_exists( 'ElementsKit' ) ) {
class ElementsKit {
// for backward compatibility
const VERSION = '1.5.9';
const PACKAGE_TYPE = 'pro';
const PRODUCT_ID = '9';
const MINIMUM_ELEMENTOR_VERSION = '2.4.0';
const MINIMUM_PHP_VERSION = '5.6';
static function api_url() {
return 'https://api.wpmet.com/public/';
}
static function plugin_url() {
return trailingslashit( plugin_dir_url( __FILE__ ) );
}
static function plugin_dir() {
return trailingslashit( plugin_dir_path( __FILE__ ) );
}
static function widget_dir() {
return self::plugin_dir() . 'widgets/';
}
static function widget_url() {
return self::plugin_url() . 'widgets/';
}
static function module_dir() {
return self::plugin_dir() . 'modules/';
}
static function module_url() {
return self::plugin_url() . 'modules/';
}
static function lib_dir() {
return self::plugin_dir() . 'libs/';
}
static function lib_url() {
return self::plugin_url() . 'libs/';
}
}
}
@@ -0,0 +1,14 @@
<?php
namespace ElementsKit;
defined( 'ABSPATH' ) || exit;
/**
* Global helper class.
*
* @since 1.0.0
*/
class Utils extends \ElementsKit_Lite\Utils {
//
}
@@ -0,0 +1,6 @@
<?php
namespace ElementsKit;
class Elementskit_Menu_Walker extends \ElementsKit_Lite\ElementsKit_Menu_Walker {
//
}
@@ -0,0 +1,9 @@
<?php
namespace ElementsKit_Lite\Helpers;
defined( 'ABSPATH' ) || exit;
class Widget_List extends \ElementsKit_Lite\Config\Widget_List {
//
}