<?php
    namespace Pixebuilder\Element;
    
    // prevent direct file access
	if( !defined( 'ABSPATH' ) ) exit;
    
    class Html_Code extends Item{
        
        static function get_name(){
            return 'html-code';
        }

        static function get_title(){
            return esc_html__('HTML Code', 'pixebuilder');
        }

        static function get_icon(){
            return 'html';
        }
        
        static function render_content($settings){

            $ret = '';
            if( !empty($settings['content']) ){
                $ret .= $settings['content'];
            }

            return $ret;
        }

    }

    \Pixe_Builder::register_element('Pixebuilder\Element\Html_Code');
    