芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/includes/widgets/html.php
start_controls_section( 'section_title', [ 'label' => esc_html__( 'HTML Code', 'elementor' ), ] ); $this->add_control( 'html', [ 'label' => esc_html__( 'HTML Code', 'elementor' ), 'type' => Controls_Manager::CODE, 'default' => '', 'placeholder' => esc_html__( 'Enter your code', 'elementor' ), 'dynamic' => [ 'active' => true, ], ] ); $this->end_controls_section(); } /** * Render HTML widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.0.0 * @access protected */ protected function render() { $this->print_unescaped_setting( 'html' ); } /** * Render HTML widget output in the editor. * * Written as a Backbone JavaScript template and used to generate the live preview. * * @since 2.9.0 * @access protected */ protected function content_template() { ?> {{{ settings.html }}}