Viewing 1 replies (of 1 total)
  • Hi Casey,

    Yes, this can be done but it will require some custom coding work. I’d recommend you build a little extension plugin that uses the hooks provided by the plugin to make the changes.

    I can’t give a full tutorial but here’s a quick run-down of the actions and filters you’ll need to hook into to add the column.

    1. Add a column to the bookings list table: rtb_bookings_table_columns. Just add the title of the column as a key value pair, eg 'myfield' => 'My field'.

    2. Populate the column with the booking value you’d like: rtb_bookings_table_column. Inspect the $booking object for the value you want, then return it so it’s assigned to $value. If you’re using my Custom Fields addon, you’ll want to look in $booking->custom_fields.

    If you’re not familiar with WordPress’s hooks system, you’ll want to read up on . That might be a bit dense. This article might be a bit more accessible.

Viewing 1 replies (of 1 total)

The topic ‘View Custom Fields in Admin Booking Display’ is closed to new replies.