403Webshell
Server IP : 62.60.133.156  /  Your IP : 216.73.217.51
Web Server : LiteSpeed
System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : mimradmin ( 1166)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/mimradmin/theme/digitaz/inc/customize-control/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/mimradmin/theme/digitaz/inc/customize-control/editor.php
<?php
if (!defined( 'ABSPATH' )){
    exit;
}

/**
 * Class OSF_Customize_Control_Editor
 */
class Digitaz_Customize_Control_Editor extends WP_Customize_Control {
    public $type = 'opal-editor';


    /**
     * Render the control's content.
     *
     * @return  void
     */
    public function render_content() {
        ?>
        <label>
            <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
            <span class="description customize-control-description"><?php echo esc_html( $this->description ); ?></span>
        </label>
        <input type="hidden" <?php $this->link(); ?> value="<?php echo esc_attr( $this->value() ); ?>">
        <?php
        wp_editor( $this->value(), $this->id, array(
            'textarea_name' => $this->id,
            'textarea_rows' => 5
        ) );
        do_action( 'admin_footer' );
        do_action( 'admin_print_footer_scripts' );
    }

    public function enqueue() {
        global $digitaz_version;
        wp_enqueue_script( 'digitaz-customizer-editor', get_theme_file_uri('assets/js/admin/editor.js'), array(), $digitaz_version, true );
    }
}

Youez - 2016 - github.com/yon3zu