Elementor_Widget extends Widget_Base Uses Context

Base Elementor widget.

Table of Contents

$context  : array<string|int, mixed>
Object context values.
__construct()  : mixed
Class constructor.
get_categories()  : array<string|int, mixed>
Gets widget categories.
get_context()  : mixed
Gets object context values.
get_icon()  : string
Gets widget icon.
get_keywords()  : array<string|int, mixed>
Gets widget keywords.
get_name()  : string
Gets widget name.
get_title()  : string
Gets widget title.
register_controls()  : mixed
Registers widget controls.
render()  : mixed
Renders widget HTML.

Properties

Methods

__construct()

Class constructor.

public __construct([array<string|int, mixed> $data = [] ][, array<string|int, mixed> $args = null ]) : mixed
Parameters
$data : array<string|int, mixed> = []

Widget data.

$args : array<string|int, mixed> = null

Widget arguments.

Return values
mixed

get_context()

Gets object context values.

public final get_context([string $name = null ][, mixed $default = null ]) : mixed
Parameters
$name : string = null

Context name.

$default : mixed = null

Default value.

Return values
mixed