Hi guys,
We critically need apply_filters added to get_upload_dir and get_cache_dir in class-fl-builder-model.php. We have your Agency version and deployed it on Multisite. A problem surfaced with our media server for uploads which routes wp_upload_dir() to Amazon S3. The Page Builder cache for css and js are local and change faster than reasonable s3 offloading. Therefore we needed to allow logged in users access to the local wp_upload_dir while they’re editing.
We need return apply_filters( ‘fl_builder_get_upload_dir’, $dir_info ); and return apply_filters( ‘fl_builder_get_cache_dir’, $dir_info ); added respectively so we can screen media upload requests for logged in users and give them the local directory while they’re editing.
Really, you guys should have apply_filters in a lot of your returns, especially for situations where you’re setting globally used values like file paths. I hope you’re able to add these soon. We’ll be hacking your core until then. Thanks!