Home Forums Feature Requests Ability to Hide Drafts from Relationship Fields


Ability to Hide Drafts from Relationship Fields

  • Would be great to have a checkbox option to hide Draft posts from the Relationship fields so that clients don’t accidentally select / add custom post type items that are set to Draft.

    I have a client that did that recently – they add products to their Isotope filterable grid listing and they accidentally added a Draft product to their filter grid. Would like to be able to prevent them from doing that in the future.

    Thank you,

  • While you can select draft posts in the admin they should not appear on the front end, usually, it can happen if you return post IDs.

    ACF has a filter that can be used to modify the values that can be selected in the admin, acf/fields/relationship/query

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.