Auto Fill Listing Submit Form

Hi , i just found this line of code from github made by hivepress. SEE ATTACHMENT

Is this meant to autofill submit listing form? Lets say slot duration would be automatically 60 min.

I tried this snipset and looks like it wont work.

Can you advice what is the line of commands to autofill submit listing form to slot duration 60 min. So user dont need to manually add 60 min to this section when submitting new listing.

Thank you!

Best regards Alex F

Hi,

This snippet adds a default value for the booking_slot_duration field. Please note that this will only work for newly created listings.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.