• Hi,
    I would like to suggest to add a filter hook to give the opportunity to customize the email subject. This would be very useful if you have more than one form in your website and if you receive many emails for different purposes.

    Just adding the following code into class.cfcs_contact.php, line 153:

    $subject = apply_filters('cscf_subject', cscf_PluginSettings::Subject(), $this );

    This way users can customize the email subject and, also, if they are using gmail as recipient email, can prevent to receive messages grouped in a single tread.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    Yes definitely worth adding. Thanks for the suggestion. Meghan

    Thread Starter virgodesign

    (@virgodesign)

    Hi Meghan,
    thanks for taking it in consideration.

    Could be also useful having the following filter before sending any email:

    $recipients = apply_filters('cscf_recipients', cscf_PluginSettings::RecipientEmails(), $this );

    This would definitely customize the whole experience for any user.
    For example, I’ve a website where all workshops and events forms would be sended to a specific email recipient, different from the default one.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Feature request] Filter Hook for email subject’ is closed to new replies.