Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/intellicart.co/wp-content/plugins/bdthemes-element-pack/base/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/intellicart.co/wp-content/plugins/bdthemes-element-pack/base/module-base.php
<?php

namespace ElementPack\Base;

use Elementor\Widget_Base;
use ElementPack\Element_Pack_Loader;

if ( !defined('ABSPATH') ) {
    exit; // Exit if accessed directly.
}

abstract class Module_Base extends Widget_Base {

    public function get_style_depends() {

        if ( method_exists($this, '_get_style_depends') ) {
            if ( $this->ep_is_edit_mode() ) {
                return ['ep-all-styles'];
            }
            return $this->_get_style_depends();
        }
        return array();
    }

    protected function ep_is_edit_mode() {

        if ( Element_Pack_Loader::elementor()->preview->is_preview_mode() || Element_Pack_Loader::elementor()->editor->is_edit_mode() ) {
            return true;
        }

        return false;
    }
}


Spamworldpro Mini