Replies: 0
Hi,
I’m trying to attach a local file (located in wp-content -> uploads/2020/12/test.pdf).
It works when I put “uploads/2020/12/test.pdf” in the “File Attachments field”. But the path of the file needs to be dynamic.
So I created an hidden field with the value of file path and put the shortcode [prog] in the “File Attachments field”. And this method doesn’t work.
Does someone know a way to do this ?
Thanks for your help.