function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) {}

Retrieve an array of comment data about comment $comment_ID.


  • 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

Return values

returns:The comment data

Source code

function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) {

	_deprecated_function( __FUNCTION__, '2.7', 'get_comment()' );

	return get_comment($comment_ID, ARRAY_A);



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: