wp_update_comment_data

Advertisement

Summery Summery

Filters the comment data immediately before it is updated in the database.

Syntax Syntax

apply_filters( 'wp_update_comment_data', array $data, array $comment, array $commentarr )

Description Description

Note: data being passed to the filter is already unslashed.

Parameters Parameters

$data

(array) The new, processed comment data.

$comment

(array) The old, unslashed comment data.

$commentarr

(array) The new, raw comment data.

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.