Skip to content

How to preview the searching post (Plural post) #2470

Discussion options

You must be logged in to vote

Hey @stephenwongcandr .

You can use the status or statii where arg to filter connections by the post status.

E.g.

shops( where: { stati: [ PENDING, DRAFT, PUBLISH ] } ) {
    nodes {
      databaseId
      status
    }
  }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stephenwongcandr
Comment options

Answer selected by justlevine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2469 on August 12, 2022 18:43.