Contact form subject (Contact Form Submission) can this be changed?

Hi all,

Contact form submissions arrive at my inbox with the subject ‘Contact Form Submission’.
The problem I’m having is that now I can’t tell which website they’re coming from.

Is there a way to change this subject? For ex 'Contact Form Submission from XYZ.com)

Thanks for any advise
Jose

Hey Jose,

Can you try adding the function below and see if it works?

// Translate the sentence Contact Form Submission on the fl-builder domain
function my_text_translations( $translated, $text, $domain ) {
  switch ( $translated ) {
    case 'Contact Form Submission' :
      $translated = __( 'New sentence for Contact Form Submission', 'fl-builder' );
      break;
  }
  return $translated;
}
add_filter( 'gettext', 'my_text_translations', 20, 3 );

If it doesn’t, you may need to override the core module files to achieve it. Let us know how it goes!

Ben