BrightLeaf Digital Code Snippet Library
Check out our growing library of code snippets for Gravity Forms!
Eleven of these snippets register their own shortcodes. Every tag and attribute is in our Gravity Forms shortcodes reference. Need a Gravity Forms or GravityView shortcode built for you? Try the free shortcode builder.
Fix APC's handling of cross-domain File Upload URLs
Goal
This snippet fixes APC's handling of remote URL's in a file upload field. This snippet downloads the remote file and updates the local entry with the new local URL so that APC can access it and add it to the media library and post. This snippet can also be useful without APC when dealing with remote entry creation or updates to download the files and have them hosted on the current site.
This code is best installed directly on your site using the Code Snippets plugin.
Loading...
Review this entry
You must be logged in to post a comment.