Skip to main content

Filter: gform_web_api_retrieve_form_totals

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form->id

Example hook names:

  • gform_web_api_retrieve_form_totals (base hook)
  • gform_web_api_retrieve_form_totals_1 (with first modifier value)

Allows third-party code to omit form totals from the API response. This is useful for increasing the performance of the endpoint when totals aren't required.

Since

Source

Defined in includes/webapi/webapi.php at line 1865