0

Add Custom Booking Form Field — Event Manager

Add Custom Booking Form Field

Adding Custom Booking field easy added if you are using Even manager Pro (paid version) , but if your are using free one then use following code. Add Custom Booking Form Field

  1. First Action Hook add the additional field
  2. Second is filter Hook which save the data in database
  3. The third one add the new field to the list of available fields in the admin (when you choose which one to display in the listing view).
  4. And the last filter add the field to the table when it is activated in the view (this hook is also used when you export data).

Add the following hooks in your function.php

you can drag and drop that field to show in the recent booking table and csv export

Sandeep Kumar

Sandeep kumar is a web developer and a professinal blogger. He works for latest technologies and write articles what he learn. In ICodeHub he share web languages tutorials and other programming tips and tricks. if you need some help or have some suggestion then mail him at sandeep92pal@gmail.com without any hesitation. He believes in learning and sharing.