This is part 1, and an explanation of why my part 1 code won't work for part 2 ;)
Once suspended, thibpat will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, thibpat will be able to comment and publish posts again.
Once unpublished, all posts by thibpat will become hidden and only accessible to themselves.
If thibpat is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Thibaut Patel.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community 👩💻👨💻 safe. Here is what you can do to flag thibpat:
Unflagging thibpat will restore default visibility to their posts.