Skip to content

Version 1.3.0

Choose a tag to compare

@mitchgohman mitchgohman released this 05 Aug 16:53
· 1 commit to main since this release

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.