wp.media update options and force render on uploader

Solved!

Not sure if this is the correct method, but after hours of console logging I discovered that this code:

acf.media.content.get().options.selection.multiple = false

will update the multiple option and therefore change how many images can be selected in the new uploader.

If someone finds a nicer way, I’d love to hear it

Leave a Comment