How to send custom variable in Media Uploader ajax request?
My first instinct was to find _acfuploader in ACF code to see how they are doing it. Unfortunately the latest version doesn’t seem to have any occurrences of acfuploader. The second thing I thought of was the wp_get_referer function. You could use it to see where the ajax request came for. Then you could get … Read more