Set Attachment Path Programmatically
-
Hi there,
First off, great plugin!
We would like to know if we can set the file path programmatically, specifically:
We are using custom post types with custom fields for a file. On each of these custom post types, we have a gravity form (same form each time).
What we would like to know is if / and how it would be possible to set the file path of the form attachment based on the custom field on each respective custom post type. In other words, we could use the same form, but the attachment would vary based on the CPT (instead of having to make loads of unique forms).
Thanks in advance!
https://www.ads-software.com/plugins/gravity-forms-notification-attachments/
- The topic ‘Set Attachment Path Programmatically’ is closed to new replies.