I'm doing a QUIZ system, but I'm facing a problem that I dont know how to fix it.
I need to make a
if basically, where it will check if the current user has a post published, as the question title. It's important to say that the posts are a specifically custom-post-type, so I need to check if there is a post with a certain post-type with the author-id equal to the current user ID.
Can someone help-me?