Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to check if user submitted topic status is pending review or published

Viewing 2 replies - 1 through 2 (of 2 total)

  • Binayk
    Participant

    @binayk

    Actually I asked quite unusual question my apologizes, it can be easily triggered by add_action('publish_{custom_post_type_name}', 'function_to_perform');
    Can anyone help me out with this, I want to get user_id when a user submits a forum topic so that I can award points, as currently I am using bbpress moderation so when user submits a topic until its published by admin they won’t get any points. I want to make custom function to award user points for submitting topic even if its under moderation.


    Binayk
    Participant

    @binayk

    I found the solution using myCred plugin, and also integrated my custom function. Now how do I delete or mark this topic as closed

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to check if user submitted topic status is pending review or published’ is closed to new replies.
Skip to toolbar