Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_update_comment()

3 tags 1 category

wp_update_comment() — Updates an existing comment in the database. Filters the comment and makes sure certain fields are valid before updating.

Inputs: $commentarr (array): Contains information on the comment. $wp_error (bool): Optional. Whether to return a WP_Error on failure. Default false.

Returns int|false|WP_Error: The value 1 if the comment was updated, 0 if not updated. False or a WP_Error object on failure.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…