Attaching a PDF file in Contact Form 7 email notification

Contact Form 7, one of the best WordPress plugins to create contact forms in WordPress website. Contact Form 7 is not only used to create contact forms but due to a large number of extensions and code snippets, it is possible to create any kind of Form using Contact Form 7.

You can manually add a PDF file to email notifications by using Contact form 7 filters. Add below code in function.php file of your theme. You can add PDF file in your theme folder at any location and make changes in the file path in below function.

Share

Disclaimer: *This post may contain affiliate links. I may earn a small commission when you click on the links and buy the products with no additional cost to you. Thank you.

WooCommerce

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

6 Comments
Oldest
Newest
Inline Feedbacks
View all comments