Description
class Pixebuilder\Element\Item{}
This class defines each page builder element. It contains static methods that specify the element’s properties and handle content rendering.
Methods
::get_default(): Returns an array of the element’s initial values.
::get_data(): For regular elements, this method returns an empty string. For grouped elements, it returns 'composite', with the composite content defined by get_default().
::get_type(): Returns the section slug ('basic', 'composite', 'query', 'woocommerce'), or a custom-created section.
::get_name(): Returns the element slug, used to register styles and scripts.
::get_title(): Returns the element label.
::render_content($settings): Returns the HTML content of the element based on the item settings. This function is ignored when the element data is 'composite'.
