Also, please refresh the page after adding the snippet because the number of images is also set in the HTML field attribute. I tested the snippet locally with 15 files and once I added it and refreshed the page, the uploader allowed adding 15 instead of 10 (default limit) files.
If possible, please send a link to your site (you can also send it privately via support@hivepress.io) – at the moment we can’t reproduce this issue locally and on the demo site, maybe this is something specific to the website setup.
Please note that this snippet sets the limit for any attachment field in any form, not just the listing images, but since there’s no multiple attachments option for other fields yet, it may be used as a temporary workaround.
Please make sure that you added it as a PHP, not JS code snippet. I also fixed the formatting in the reply, you can try copying it again as there were converted quotes in the code.
It turned out that this specific request was related to image uploads from the backend. The previous snippet works for the frontend uploader, so it does not affect image uploads made from the backend.