Support » Plugins » Hacks » Identifying comment ID in comment_text filter

  • Resolved jeremy2882


    Anyone know how to retrieve the comment ID of the comment which a comment_text filter is being applied to? global $comment doesn’t reliably point to the correct comment.

Viewing 1 replies (of 1 total)
  • This was posted a while ago, but the answer might still be useful. I believe the correct way is with the comment_ID function

Viewing 1 replies (of 1 total)
  • The topic ‘Identifying comment ID in comment_text filter’ is closed to new replies.