Rename attached PDF

By: Anita Edwards | Asked: 03/19/2024
ForumsCategory: How-toRename attached PDF
Anita Edwards asked 9 months ago
Hi!  Each time a student registers on my site, I have an email automation that sends a pdf attachment of the submitted Student Registration Form to my admin assistant to be saved on a local drive.  We currently have to rename each pdf to reflect the student's name.  Does anyone know how if I can name the pdf email attachment to reflect the value in the  name field on the submitted form?   Thanks
1 Answers
Rob LeVineRob LeVine answered 9 months ago
Take a look at this. You can get all the info you need from the $args parameter.
Anita Edwards replied 9 months ago

Thank you! I will check it out

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right