Skip to main content

Action: gravityview/metaboxes/data-source/before

Fires before the Data Source metabox content is rendered.

Parameters

NameTypeDescription
$current_formintForm currently selected in the View (0 if none selected).
$formsarrayArray of active forms, not in trash.

Since

  • 1.22.1
  • 2.39: Modified the $forms array to only include the form ID as key and title as value, not full form objects.

Source

Defined in includes/admin/metaboxes/views/data-source.php at line 37