Skip to main content

Filter: gk/gravityview/common/get_forms

Modify the forms returned by GFAPI::get_forms().

Parameters

NameTypeDescription
$formsarrayArray of forms, with form ID as the key.
$activebool|stringStatus of forms. Use any to get array of forms with any status. Default: true.
$trashboolInclude forms in trash? Default: false.
$order_bystring|arrayOptional. Either the field name to order by or an array of multiple orderby fields as $orderby => $order.
$orderstringOptional. 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.