Support

Account

Home Forums ACF PRO Show only posts with acf field set to false and other args Reply To: Show only posts with acf field set to false and other args

  • You likely also need to check to see if the meta key doesn’t exist at all with a NOT EXISTS in the compare. So you’re doing an ‘OR’ relation meta query looking for either a null state or that the key does not exist at all.

    If you have a true/false field and you save a post in the false state, it doesn’t create the key with an initial false state.