Brevo
3 hooks fired by Brevo: 3 filters and 0 actions across 3 call sites.
3 hooks fired by Brevo: 3 filters and 0 actions across 3 call sites. 3 of the 3 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/brevo/Components/Modal.js:510
xpac_brevo_payload
Filter · 4 arguments · 1 call site
Filters one Brevo request body before it is sent.
The place to add an attribute the form does not collect, an ext_id,
a tag, or a smtpBlacklistSender entry. $action says which verb is
being sent, so one callback can serve them all.
apply_filters( 'xpac_brevo_payload', $body, $action, $item, $submission )$body(array) — Body as this package built it.$action(string) — One of subscribe, unsubscribe, sendEmail, trackEvent.$item(array) — The configured action.$submission(Submission) — Submission being delivered.
Fired from:
packages/Brevo/Addon.php:1056
xpac_brevo_request_timeout
Filter · 1 argument · 1 call site
Filters how long, in seconds, to wait for Brevo 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 Brevo's own response time turns a contact that was in fact created into a needless retry.
apply_filters( 'xpac_brevo_request_timeout', 10 )$timeout(int) — Seconds to wait. Default 10.
Fired from:
packages/Brevo/Client.php:74