How to check if user submitted topic status is pending review or published
-
I want to know how do I check if user submitted topic status in any group is pending review or is published, as I want to deduct certain points if they create new topic in a group but after moderating if their topic is published then again I want to award them certain points. For example if they submit any topic in a group, it would cost 2 points and after moderating if their submitted topic is approved or published by admin they should get 10 points. How do I proceed? will
get_post_status()
work for topics as well. Can you suggest any proper solution to this @henrywrightThanks in advance
- The topic ‘How to check if user submitted topic status is pending review or published’ is closed to new replies.