Switch language

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




get_commentdata [ WordPress Function ]

get_commentdata ( $comment_ID, $no_cache = 0, $include_unapproved = false )
Parameters:
  • (int) $comment_ID The ID of the comment
  • (int) $no_cache Whether to use the cache (cast to bool)
  • (bool) $include_unapproved Whether to include unapproved comments
See:
Returns:
  • (array) The comment data
Defined at:



Retrieve an array of comment data about comment $comment_ID.

Source


<?php
function get_commentdata$comment_ID$no_cache 0$include_unapproved false ) {
    
_deprecated_function__FUNCTION__'2.7''get_comment()' );
    return 
get_comment($comment_IDARRAY_A);
}
?>

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

0 User Note(s)

None yet. Be the first!

Add New ...



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