How to check how many ADS a user have?
Hello guys!
Is there a way to check how many ads a user have? Including, drafts, pending etc?
For example:
I want to check if a user have 5 ads...
Let's think about a simple LINK that send the user to a SPECIAL PAGE. When the user click on this link... the code check:
IF user have more or 5 ADS (custom post)
send him to the /congratulations.html
elseif
do nothing...
is there a way to do that?