• LS

    (@lsterling03)


    Some of our blog posts are restricted and some are not. Is it possible to use WP_Query to query only restricted posts?

    For example, is there a meta key/value that corresponds to restricted or unrestricted?

    I simply want to list all posts that have the “restricted” option selected. (And vice versa — list all posts that do NOT have the “restricted” option selected.)

    Thanks!

    • This topic was modified 4 months, 2 weeks ago by LS.
    • This topic was modified 4 months, 2 weeks ago by LS.
  • You must be logged in to reply to this topic.