When i call comment_type() it echo's out the comment type, but I just want to know what the type is instead of actually echoing it. Is there an easy way to do this?
For reference, I need to know so I can change icon's for trackbacks and comments.
When i call comment_type() it echo's out the comment type, but I just want to know what the type is instead of actually echoing it. Is there an easy way to do this?
For reference, I need to know so I can change icon's for trackbacks and comments.
@Kafkaesqui - Sneaky.
Why not just use $comment->comment_type though?
'Kafkaesqui: performing PHP magic, and doing it with style' :)
This topic has been closed to new replies.