Demonstrates a custom Elementor widget.
Capabilities and extension points
Demonstrates an Elementor heading widget.
Gets the widget identifier.
- return string Widget identifier.
Gets the translated widget title.
- return string Widget title.
Gets the Elementor editor icon identifier.
- return string Icon identifier.
Gets the Elementor categories containing this widget.
- return array Widget category identifiers.
Gets keywords used to find the widget in Elementor.
- return array Widget search keywords.
Gets the widget help URL.
- return string Widget help URL.
Determines whether Elementor should render an inner wrapper.
- return bool Whether the inner wrapper is required.
Determines whether the widget produces dynamic content.
- return bool Whether the content is dynamic.
Registers the widget's title and heading-level controls.
Outputs the configured widget title on the frontend.
Source reference
This editable reference page is based on the PHP documentation in plugins/elementor/class-example.php.