Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_comment_text [ WordPress Function ]

get_comment_text ( $comment_ID = 0 )
Parameters:
  • (int) $comment_ID The ID of the comment for which to get the text. Optional.
Uses:
  • $comment
Returns:
  • (string) The comment content
Defined at:



Retrieve the text of the current comment.

Source


<?php
function get_comment_text$comment_ID ) {
    
$comment get_comment$comment_ID );
    return 
apply_filters'get_comment_text'$comment->comment_content$comment );
}
?>

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

User discussions [ wordpress.org ]

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics