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?
- The topic ‘Template tags without output’ is closed to new replies.