Skip to content

v1.3.0 — Fix WS Form lead capture

Choose a tag to compare

@CCDevelopment CCDevelopment released this 06 Jun 20:21
· 1 commit to master since this release

Fixed

  • WS Form leads now captured. WS Form submits over admin-ajax, so the previous rest_post_dispatch REST interception never fired and no leads were sent. The handler now uses WS Form's native server-side action hook wsf_submit_post_complete, which fires after any successful submission regardless of transport.
  • Field ids are mapped to labels and types from the WS Form form object, so name/email/phone extraction works reliably (email/tel field types are detected even with generic labels).

Upgrade note

Existing installs must confirm the saved Leads Endpoint in WP settings is https://dashboard.progressiodev.com/api/leads — the stored DB value overrides the code default.