WordPress at a glance
function is not described

get_commentdata() WP 0.71

Deprecated in 2.7.0. It is no longer supported and can be removed in future releases. Use get_comment() instead.

Retrieve an array of comment data about comment $comment_ID.

  • See: get_comment()

No Hooks.

Return

Array. The comment data

Usage

get_commentdata( $comment_ID, $no_cache, $include_unapproved );
$comment_ID(int) (required)
The ID of the comment
$no_cache(int)
Whether to use the cache (cast to bool)
Default: 0
$include_unapproved(true/false)
Whether to include unapproved comments
Default: false

Code of get commentdata: wp-includes/deprecated.php WP 5.2.2

<?php
function get_commentdata( $comment_ID, $no_cache = 0, $include_unapproved = false ) {
	_deprecated_function( __FUNCTION__, '2.7.0', 'get_comment()' );
	return get_comment($comment_ID, ARRAY_A);
}