GravityKit\GravityFormsElementorWidget\Page_Forms
Loads each widget form's stylesheets and scripts in the page head, the way Gravity Forms does for its form block.
Without this, a widget form enqueues its stylesheets while rendering, so they print in the footer: later in the cascade than a block's, and after the form has been drawn once unstyled.
Since: TBD
Source: src/Page_Forms.php:26
Details
- Kind:
class - Namespace:
GravityKit\GravityFormsElementorWidget
Methods
| Method | Description |
|---|---|
enqueue() | Enqueues the forms of every widget in the queried posts built with Elementor. |
Method Reference
enqueue()
public static function enqueue()
Enqueues the forms of every widget in the queried posts built with Elementor.
Since: TBD
Source: src/Page_Forms.php:33