Core Function
View Source on Trac ↗ get_commentdata()
get_commentdata( mixed $comment_id, mixed $no_cache = 0, mixed $include_unapproved = false ) Retrieve an array of comment data about comment $comment_id.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $comment_id int | The ID of the comment Required |
| $no_cache int | Whether to use the cache (cast to bool) |
| $include_unapproved bool | Whether to include unapproved comments |
Return Value
(array)
The comment data
Function Information
Since Version
0.71
Source File
wp-includes/deprecated.php
Advertisement