v1.3.0 — Fix WS Form lead capture
Fixed
- WS Form leads now captured. WS Form submits over admin-ajax, so the previous
rest_post_dispatchREST interception never fired and no leads were sent. The handler now uses WS Form's native server-side action hookwsf_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.