apply_filters( 'xmlrpc_prepare_comment', array $_comment, WP_Comment $comment )

Filters XML-RPC-prepared data for the given comment.

Parameters

$_comment

(array) An array of prepared comment data.

$comment

(WP_Comment) Comment object.

Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_prepare_comment