Hide posts from users with a specific role

Use WP_User_Query to build a list of suspended authors` ids, then use that list with minuses for inversion as author parameter in query.

Leave a Comment

error code: 523