Replies: 0
Hi,
Great plugin. Thanks.
I’m trying to use your filter to add multiple fields to the post content. It’s working correctly for simple fields, but not for arrays. I’m trying to use this with Drag and drop multiple file uploads (mfile) and select multiple files (I’ve installed select2 jquery library).
I’ve tried to use classic php notation :
if(isset($form_data[‘upload-file-136’])){
foreach ($form_data[‘upload-file-136’] as $photos) {
echo $photos .”<br />”;
}
Any chance you can put me in the right direction or give me some examples.
Thanks