WordPress.org

Support

Support » How-To and Troubleshooting » Some Posts visible only to some users

Some Posts visible only to some users

  • Stefano
    Participant

    @stepunk

    Hi all,
    my problem is this:

    I have a custom post type called DOCUMENTS, each DOCUMENT has a custom field named OWNERS that contains one or more user ids (that are different from the ID of the user who created the post).

    How can I make the DOCUMENT visible online only to USERS that have the id included in the OWNERS field?

  • The topic ‘Some Posts visible only to some users’ is closed to new replies.