Skip to main content

GravityKit\GravityFormsElementorWidget\Widget

Gravity Forms widget for Elementor.

Integrates Gravity Forms with Elementor page builder.

Since: 1.0.0

Source: src/Widget.php:29

Details

  • Kind: class
  • Namespace: GravityKit\GravityFormsElementorWidget
  • Extends: Widget_Base

Methods

MethodDescription
get_name()Retrieves Gravity Forms widget name.
get_title()Retrieves Gravity Forms widget title.
get_categories()Retrieves the list of categories the Gravity Forms widget belongs to.
get_keywords()Retrieves Gravity Forms widget keywords.
get_icon()Returns widget icon.
get_custom_icon()Returns widget custom icon.
enqueue_editor_styles()Enqueues editor styles.

Method Reference

get_name()

public function get_name()

Retrieves Gravity Forms widget name.

Returns

  • string — Widget name.

Since: 1.0.0

Source: src/Widget.php:41

get_title()

public function get_title()

Retrieves Gravity Forms widget title.

Returns

  • string — Widget title.

Since: 1.0.0

Source: src/Widget.php:54

get_categories()

public function get_categories()

Retrieves the list of categories the Gravity Forms widget belongs to.

Returns

  • array — Widget categories.

Since: 1.0.0

Source: src/Widget.php:67

get_keywords()

public function get_keywords()

Retrieves Gravity Forms widget keywords.

Returns

  • array — Widget keywords.

Since: 1.0.0

Source: src/Widget.php:80

get_icon()

public function get_icon()

Returns widget icon.

Returns

  • string — Widget icon.

Since: 1.0.0

Source: src/Widget.php:99

get_custom_icon()

public static function get_custom_icon()

Returns widget custom icon.

Returns

  • string — Widget custom icon.

Since: 1.0.0

Source: src/Widget.php:112

enqueue_editor_styles()

public static function enqueue_editor_styles()

Enqueues editor styles.

Since: 1.0.0

Source: src/Widget.php:533