Core Function
View Source on Trac ↗ get_comment_to_edit()
get_comment_to_edit( mixed $id ) Returns a WP_Comment object based on comment ID.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $id int | ID of comment to retrieve. Required |
Return Value
((WP_Comment)
| false) Comment if found. False on failure.
Function Information
Since Version
2.0.0
Source File
wp-admin/includes/comment.php
Advertisement