Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #675631

    Hi!

    Is it possible to remove the “Your message:” text the sender receives? So that the sender only receives the automated responder message.

    Thanks in advance!

    Regards,
    Michael

    #676766

    Hey mmichael1991,

    Thank you for using Enfold.

    Please add this in the functions.php file:

    function avf_form_autorespondermessage_mod($message) {
    	$message = str_replace('Your message:', '', $message);
    	return $message;
    }
    add_filter('avf_form_autorespondermessage', 'avf_form_autorespondermessage_mod', 10, 1);

    Best regards,
    Ismael

    #676908

    That worked!

    Thanks for your help :D

    Regards,
    Michael

    #677637

    Hi Michael,

    Great, glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Thanks,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove "Your Message:" in contact form’ is closed to new replies.