Support Center

PixeBuilder Support Center
Support Center>Pixebuilder\Element\Item
Updated On: January 21, 2026

Pixebuilder\Element\Item

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'.

Related

Is This Article Helpful?

We value your feedback! Let us know if this article helped you:

Still need help? Contact Us for further assistance.

Table Of Contents