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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)