Forums

Plugin API comment_post / Comment ID? (2 posts)

  1. collinsinternet
    Member
    Posted 3 years ago #

    How can I get the comment ID of a new comment that is just saved into the database?

  2. collinsinternet
    Member
    Posted 3 years ago #

    Nevermind, I figured it out. You must pull the comment ID into your function. So

    function myaction_save($comment_ID) {

    //function stuff using $comment_ID

    }

Topic Closed

This topic has been closed to new replies.

About this Topic