wp_update_comment


wp_update_comment ( $commentarr )

Parameters:
  • (array) $commentarr Contains information on the comment.
Returns:
  • (int) Comment was updated if value is 1, or was not updated if value is 0.
Defined at:
Change Log:
  • 4: .

Description

Updates an existing comment in the database.

Filters the comment and makes sure certain fields are valid before updating.

Related Functions

wp_update_comment_count, wp_update_core, wp_delete_comment, wp_unspam_comment, wp_spam_comment

Top Google Results

User discussions

wpseek mobile