Filter: gform_preview_styles
Filters Form Preview Styles.
This filter modifies the enqueued styles for the Form Preview. Any handles returned in the array will be loaded in the Preview header (if they've been registered with wp_register_style).
Parameters
| Name | Type | Description |
|---|---|---|
| $styles | array | An empty array representing the currently-active styles. |
| $form | array | An array representing the current Form. |
Since
Source
Defined in preview.php at line 82
Returns
An array of handles to enqueue in the header.