Get user info when post an ad
Plugin working very well according to my needs, Good Job.
I need help with something else:
I setup a new Custom Field for the new user to choose from when registering the options are "Dealer or Private "
Now I need to do a check once the user post an ad, where they have to choose categories the categories must only be viewable to the specific user and not to the other user.
Sample: When registered as a Dealer and want to post an ad I must only be able to choose categories from the Dealer and must not be able to choose from the Private categories.
All I need is the Code to see if the current user is a Dealer or Private user.