Support

Account

Home Forums ACF PRO Dynamically restrict media modal attachments Reply To: Dynamically restrict media modal attachments

  • Hi @verde

    I’m afraid this is not possible. That’s because you want to get the data before it’s saved in the database. That means that you need to use AJAX to post and get the new data. But the image field has its own AJAX to show the media library modal window and post the required data.

    If you can pass the current row data along with the image field AJAX, then you can do what you after. But to do that, you need to modify the core files.

    I hope this makes sense 🙂