HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/woolentor-addons/includes/modules/rename-label/rename_label.php
<?php
namespace Woolentor\Modules\RenameLabel;
use WooLentor\Traits\ModuleBase;
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

class Rename_label{
    use ModuleBase;

    /**
     * Class Constructor
     */
    public function __construct(){

        // Include Nessary file
        $this->include();

        // initialize
        $this->init();

    }

    /**
     * Load Required File
     *
     * @return void
     */
    public function include(){
        if( self::$_enabled ){
            require_once( __DIR__. "/includes/classes/Frontend.php" );
        }
    }

    /**
     * Module Initilize
     *
     * @return void
     */
    public function init(){

        if( self::$_enabled ){
            // For Frontend
            if ( $this->is_request( 'frontend' ) ) {
                Frontend::instance();
            }
        }
        
    }

}