Skip to content

Releases: Enspyred/wp-plugin-enspyred-contact-form

Version 1.4.0

Choose a tag to compare

@mitchgohman mitchgohman released this 05 Aug 22:34

Adds a fourth generic, backward-compatible hook: ecf_confirmation_message — lets a theme/site customize the customer-facing confirmation email body based on submitted field data (e.g. naming which regional branch will follow up). No-op unless hooked, same pattern as the three hooks added in v1.3.0.

Built for LRUD Lawrence Door Service's zip-code-based branch routing feature; safe for all other client sites.

Version 1.3.0

Choose a tag to compare

@mitchgohman mitchgohman released this 05 Aug 16:53

Adds three generic, backward-compatible filter hooks around form submission — no-op unless a theme/site hooks into them:

  • ecf_email_recipients — override notification recipients based on submitted field data (e.g. route by zip code to a regional inbox)
  • ecf_email_subject — customize the outgoing email subject based on submitted field data or the routing outcome
  • ecf_success_message — customize the on-screen success message returned to the form widget after a successful submission

Built for LRUD Lawrence Door Service's zip-code-based branch routing feature; safe for all other client sites since all three filters return their input unchanged unless explicitly hooked.