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

    Hi!

    Is it possible to change the subject that the sender receives with the automated response email?
    At this time it is “Thanks for your message”, but I want to change it to something like “Thanks for your signup!”.

    Is this possible? I’m using the default contact form in enfold.

    Many thanks,
    Michael

    #676775

    Hey mmichael1991,

    Thank you for using Enfold.

    Please add this in the functions.php file:

    /* Hook into Contact form parameters */
    add_filter('avia_contact_form_args', 'avia_contact_form_args_mod', 10, 2);
    function avia_contact_form_args_mod($form_args, $post_id){
    	$form_args['autoresponder_subject'] = __('Change me! Change me!','avia_framework' );
    	return $form_args;
    }

    Adjust the “autoresponder_subject” value as needed.

    Best regards,
    Ismael

    #676909

    Hi Ismael,

    That worked!

    Thanks for your help :D

    Regards,
    Michael

    #676938

    Hi!

    Please feel free to let us know if you need anything else, we will be happy to assist further.

    Thanks a lot

    Regards,
    Basilis

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change automated response subject contact form’ is closed to new replies.