Latest update broke custom email tag in functions.php file
-
I use a custom tag in the Purchase Receipts email instead of {download_list} so I can design the links with CSS myself. After updating WordPress and EDD to the latest versions the code in my functions.php file throws an error and my site doesn’t load, removing the custom code the site loads fine.
WordPress error email:
An error of type E_ERROR was caused in line 449 of the file /pathtotheme/functions.php. Error message: Uncaught Error: Call to undefined function edd_add_email_tag() in /pathtotheme/functions.php:449Here is the code in functions.php: https://pastebin.com/cVHPNbg5
Will this code not work anymore or do I need to change a certain part?
- The topic ‘Latest update broke custom email tag in functions.php file’ is closed to new replies.