W3cubDocs

/WordPress

apply_filters( ‘xmlrpc_prepare_comment’, array $_comment, WP_Comment $comment )

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

Parameters

$_commentarray
An array of prepared comment data.
$commentWP_Comment
Comment object.

Source

return apply_filters( 'xmlrpc_prepare_comment', $_comment, $comment );

Changelog

Version Description
3.4.0 Introduced.

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