Some Posts visible only to some users (1 post)

  1. Stefano
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic