WPDev.one
Core Function
View Source on Trac ↗

edit_comment()

edit_comment( )

Updates a comment with values provided in $_POST.

Return Value

((int)
(int | WP_Error) The value 1 if the comment was updated, 0 if not updated. A WP_Error object on failure.

Function Information

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