This Access Condition prevents unauthorized users from being able to visit:

  • posts, pages, or custom post types created by select authors
  • author archives


Good to know: This Access Condition will not hide items from archive pages, search results, widgets, custom lists, or the WP REST API.


Example – Restrict Posts by Author

Only authorized users will be able to visit posts written by Author 1.

Condition for posts by author

Was this article helpful to you?