The short answer here is you can’t check whether the upload is coming from a Pods Advanced Content Type, especially since the media that gets uploaded has no post_id associated to it (it’s not a post at that point).
The longer answer is that you can still customize this if your file upload field is using plupload itself, not the normal media library input. You will want to hook into the pods_upload_handle
filter to add_filter
for your special upload_dir
callback. Just make sure you return null on the pods_upload_handle
filter to let Pods continue handling the upload. The pods_upload_handle
filter passes 5 arguments:
$custom_handler = null, $file_arg = 'Filedata', $post_id = $params->post_id, $params, $field
You would want to check if $params->pod
(the pod id) is set and if so use it to check if it is your ACT pod. If it matches your ACT pod, then you can add your upload_dir
filter.
Using this way, you can be sure you are adding it only for the ACT intended.