WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Template tags without output (2 posts)

  1. wesg
    Member
    Posted 5 years ago #

    I'm writing a plugin/template, and I want know the ID of the post and a comment, without actually outputting it to screen. Currently my workaround is to use a PHP buffer but clearly that isn't the best method.

    What can I do?

    Also I have something like this: $comment->the_comment_ID;
    Does that sound right?

  2. wesg
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic