Filter: gk/gravityview/common/get_forms
Modify the forms returned by GFAPI::get_forms().
Parameters
| Name | Type | Description |
|---|---|---|
| $forms | array | Array of forms, with form ID as the key. |
| $active | bool|string | Status of forms. Use any to get array of forms with any status. Default: true. |
| $trash | bool | Include forms in trash? Default: false. |
| $order_by | string|array | Optional. Either the field name to order by or an array of multiple orderby fields as $orderby => $order. |
| $order | string | Optional. Either 'ASC' or 'DESC'. Only used if $orderby is a string. |
Since
Source
Defined in includes/class-common.php at line 453
Returns
Modified array of forms.