• Resolved gianmo

    (@gianmo)


    Hello,

    I really like this plugin. I don’t understand where the submission arrive. Is it the admin email?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jose

    (@giuse)

    Hi @gaianmo,

    as a default it sends the email to the main administrator. I mean the email that you find in Settings => General => Administrator email address.

    You can change it by using the filter ‘essential_form_admin_email‘,

    In functions.php of your child theme or a functional plugin you can use this code:

     add_filter( 'essential_form_admin_email', function( $email_to, $post_id ) {
      return '[email protected]';
     }, 10, 2 );

    In a similar way you can change the “email from” with the filter ‘essential_form_email_from

    The variable $post_id is the ID of the post where you add the form. You can use it in case you want a different email on a specific page where you have the form. If you want the same email everywhere, you can ignore it.

    I hope it helps.

    Have a great day!

    Jose

    Thread Starter gianmo

    (@gianmo)

    Thank you very much. I really like it!

    I noticed that you wrote the shortcode in the description with some spelling errors; just so you know ??

    Plugin Author Jose

    (@giuse)

    You are welcome @gianmo!
    Thank you for reporting the spelling error!

    Have a great day!

    Jose

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘To which address do the emails arrive?’ is closed to new replies.