Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/dumoshi.com/wp-content/plugins/ultimate-post-kit/base/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: module-base.php

Path: //home2/gazetufm/dumoshi.com/wp-content/plugins/ultimate-post-kit/base/module-base.php

Size: 493 B

Permissions: 0644

<?php

namespace UltimatePostKit\Base;

use Elementor\Widget_Base;
use UltimatePostKit\Ultimate_Post_Kit_Loader;

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

abstract class Module_Base extends Widget_Base {

    protected function upk_is_edit_mode(){

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

        return false;
    }
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager