Hooks

GetResponse

5 hooks fired by GetResponse: 4 filters and 1 actions across 5 call sites.

5 hooks fired by GetResponse: 4 filters and 1 actions across 5 call sites. 5 of the 5 call sites are described by a docblock, at the call or on the constant that names the hook; the rest are listed with their signature and call sites only. Paths are relative to the plugin directory.

xpac-forms-after-settings-modal-content

Filter · 3 arguments · 1 call site

Content appended inside a settings panel's item modal.

applyFilters( 'xpac-forms-after-settings-modal-content', [], { value: options, onChange: onUpdate, }, `xpac-${ID}` )

Fired from:

  • assets/packages/getresponse/Components/Modal.js:259

xpac_getresponse_page_size

Filter · 1 argument · 1 call site

Filters how many records one page of a GetResponse collection asks for.

apply_filters( 'xpac_getresponse_page_size', self::PAGE_SIZE )
  • $size (int) — Records per page, clamped to 1-1000. Default 1000.

Fired from:

  • packages/GetResponse/Client.php:430

xpac_getresponse_remove_data_on_uninstall

Filter · 1 argument · 1 call site

Filters whether deleting the GetResponse plugin removes its settings.

apply_filters( 'xpac_getresponse_remove_data_on_uninstall', true )
  • $remove (bool) — Whether to remove them. Default true.

Fired from:

  • packages/GetResponse/Addon.php:396

xpac_getresponse_request_timeout

Filter · 1 argument · 1 call site

Filters how long, in seconds, to wait for GetResponse to reply.

The request no longer runs inside the visitor's submission, so this is a tolerance for a slow API rather than a latency budget: nothing is waiting on it, and a timeout shorter than GetResponse's own response time turns a contact that was accepted into a needless retry.

apply_filters( 'xpac_getresponse_request_timeout', 10 )
  • $timeout (int) — Seconds to wait. Default 10.

Fired from:

  • packages/GetResponse/Client.php:189

xpac_getresponse_values_dropped

Action · 2 arguments · 1 call site

Fires when GetResponse took the contact but not every value.

do_action( 'xpac_getresponse_values_dropped', $dropped, $submission )
  • $dropped (array) — One entry per value, naming the custom field, the form field it came from, the value and why it was left out.
  • $submission (Submission) — The form instance.

Fired from:

  • packages/GetResponse/Addon.php:1260

On this page