Add an attachment to emails

Documentation Menu

Add an attachment to emails

You can add a file attachment to your emails by adding the following code to your theme’s functions.php file:

Set the email you want the attachment to be included in, and add the path to your file. You can find the path from WP Admin Tools Site Health Info Directories and Sizes WordPress directory location.

Upload your file to WP Admin Media, grab the URL and replace the beginning of the URL with the path.

Was this article helpful?

Yes No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Full CTA BG
Is WP Booking System a good fit for you?

Tell us about your business activity & plugin requirements and we'll let you know if WP Booking System is right for you.

Have a support question? Please use this form instead.