mcguffin / acf-dropzone

Drop file uploads directly on ACF file fields
https://wordpress.org/plugins/acf-dropzone/
GNU General Public License v3.0
32 stars 1 forks source link

Use acf-dropzone with wordplate/extended-acf #5

Closed AlexVWeb closed 4 years ago

AlexVWeb commented 4 years ago

Hi, I am currently using this extension with ACF Pro, but I decided to use wordplate/extended-acf in order to use ACF directly in my code, and I would have liked to know if it was possible or would be possible to use ACF -Dropzone in a certain way with this one

thank you

mcguffin commented 4 years ago

Neat! I didn't know that one.

In theory, adding dropzone to the field wrapper class should do it:
$someField->wrapper(['class'=>'dropzone']);

Please let me know if it worked!

AlexVWeb commented 4 years ago

Neat! I didn't know that one.

In theory, adding dropzone to the field wrapper class should do it: $someField->wrapper(['class'=>'dropzone']);

Please let me know if it worked!

Thank-you for your prompt response.

It works perfectly, I think it might be practical for you to point this out somewhere so that we know it more simply.