I can add a maximum of 10 photos to each listing. Is it possible to increase this number? How can I do it?
10 photos is too few for the many listings that will be on my site.
I can add a maximum of 10 photos to each listing. Is it possible to increase this number? How can I do it?
10 photos is too few for the many listings that will be on my site.
Please reply. I will be very grateful.
Try this code snippet
<?php
add_filter(
'hivepress/v1/models/listing',
function( $model ) {
$model['fields']['images']['max_files'] = 123;
return $model;
},
100
);
Change 123 to the desired amount
Nice, it works! Thank you!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.