PluginProbe ʕ •ᴥ•ʔ
ECS – Ele Custom Skin for Elementor / 4.3.6
ECS – Ele Custom Skin for Elementor v4.3.6
4.3.6 4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.0 4.1.11 4.1.10 4.1.9 4.1.8 4.1.6 4.1.7 4.1.5 4.1.4 4.1.1 4.1.2 trunk 1.0.0 1.0.1 1.0.9 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.4 1.2.5 1.3.10 1.3.11 1.3.3 1.3.4 1.3.6 1.3.7 1.3.9 1.4.0 2.0.2 2.1.0 2.2.0 2.2.1 2.2.2 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 4.1.0
ele-custom-skin / ele-custom-skin.php
ele-custom-skin Last commit date
admin 1 month ago assets 2 months ago includes 1 month ago modules 6 days ago skins 2 months ago theme-builder 2 months ago ele-custom-skin.php 6 days ago readme.txt 6 days ago
ele-custom-skin.php
65 lines
1 <?php
2 /*
3 * Plugin Name: ECS - Ele Custom Skin for Elementor
4 * Version: 4.3.6
5 * Description: Modular toolkit extending Elementor with custom loop skins, color schemes, container layouts, and more.
6 * Plugin URI: https://dudaster.com
7 * Author: Dudaster.com
8 * Author URI: https://dudaster.com
9 * Text Domain: ele-custom-skin
10 * Domain Path: /languages
11 * License: GPLv3
12 * License URI: http://www.gnu.org/licenses/gpl-3.0
13 * Elementor tested up to: 3.35.0
14 * Elementor Pro tested up to: 3.35.0
15 * Requires at least: 6.0
16 * Requires PHP: 8.0
17 */
18
19 if ( ! defined( 'ABSPATH' ) ) {
20 exit;
21 }
22
23 // ── Constants ─────────────────────────────────────────────────────────────────
24
25 define( 'ECS_VERSION', '4.3.6' );
26 define( 'ECS_FILE', __FILE__ );
27 define( 'ECS_PATH', plugin_dir_path( __FILE__ ) );
28 define( 'ECS_URL', plugin_dir_url( __FILE__ ) );
29
30 // Backward-compatibility aliases used by legacy ECS code.
31 define( 'ELECS_DIR', ECS_PATH );
32 define( 'ELECS_NAME', plugin_basename( __FILE__ ) );
33 define( 'ELECS_URL', ECS_URL );
34 define( 'ELECS_VER', ECS_VERSION );
35
36 // ── Always-on includes ────────────────────────────────────────────────────────
37 // These are loaded unconditionally because they're needed before Elementor init.
38
39 require_once ECS_PATH . 'includes/ecs-notices.php';
40 require_once ECS_PATH . 'includes/ecs-dependencies.php';
41
42 // ── Bootstrap ────────────────────────────────────────────────────────────────
43
44 /**
45 * Initialise the module system once Elementor is ready.
46 * Individual modules handle their own Elementor Pro dependency internally.
47 */
48 function ecs_init(): void {
49 if ( ! did_action( 'elementor/loaded' ) ) {
50 add_action( 'admin_notices', function () {
51 echo '<div class="notice notice-error"><p>';
52 echo esc_html__( 'ECS - Ele Custom Skin requires Elementor to be installed and activated.', 'ele-custom-skin' );
53 echo '</p></div>';
54 } );
55 return;
56 }
57
58 require_once ECS_PATH . 'includes/class-ecs-module-base.php';
59 require_once ECS_PATH . 'includes/class-ecs-modules-manager.php';
60 require_once ECS_PATH . 'includes/class-ecs-core.php';
61
62 ECS_Core::instance();
63 }
64 add_action( 'elementor/init', 'ecs_init' );
65