Set default value to a custom attribute

Greetings! I am a new user on Hivepress. I am looking to set a default value for custom booking attributes when sending a booking request. I am seeking guidance on how to add a snippet code to do so. Could you kindly assist me with this matter? Thank you very much.


If you need to set a default value for the custom booking attribute, you can use this hook hivepress/v1/models/booking/create. Also, If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work

​I hope this is helpful to you.

Thank you, that’s very helpful.

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