CalderaWP / caldera-custom-fields

Save Caldera Forms submissions in a post type or use Caldera Forms to create custom metaboxes.
https://calderaforms.com/downloads/caldera-form-custom-fields/
7 stars 11 forks source link

If pods is active files will not be uploaded unless post type is a Pod. #37

Open Shelob9 opened 7 years ago

Shelob9 commented 7 years ago

The Pods integration assumes all post types being used are Pods. That might not be true. In which case the default file uploader is removed (using cf_custom_fields_use_uploader filter) in favor of Pods' uploader. But CPT isn't a Pod, that filer returns false with no fallback.

Probably need to add a "Pods Mode" checkbox to enable that, but not sure how to make that backwards compatible. Maybe related #36