WPDev.one
Core Function
View Source on Trac ↗

wp_untrash_comment()

wp_untrash_comment( mixed $comment_id )

Removes a comment from the Trash

Parameters 1 required

Name / Type Description
(int

| WP_Comment) $comment_id Comment ID or WP_Comment object.

Required

Return Value

(bool)
True on success, false on failure.

Function Information

Since Version
2.9.0
Source File
wp-includes/comment.php
Advertisement