Support

Account

Home Forums Add-ons Repeater Field Hiding past dates in a repeater field

Unread

Hiding past dates in a repeater field

  • Hi – I’m trying to tidy up my admin backend for a B&B / Holiday Home site I’m working on.

    I have a repeater field for bookings. Basically, each booking has a start & end date associated with a custom post type (Property) in wp-admin. It’s simple, but works well – allowing me to display a calendar on the front end.

    However, in wp-admin, the repeater quickly fills up with bookings.

    What I would like to do would be to filter the repeater in wp-admin so that only rows with ‘start dates’ greater than today show up when editing the Property post.

    Does anyone know of any filters I could hook in to that could help with this?

    Many thanks in advance.

    David

Viewing 1 post (of 1 total)

The topic ‘Hiding past dates in a repeater field’ is closed to new replies.