Clanbite Social Kit REST Since 1.6.2

do_action( 'clanbite_social_kit_comment_updated', int $comment_id, int $post_id, array<string, mixed> $data )

Fires after a social comment was edited.

Action PHP

Parameters

$comment_id (int)

Comment ID.

$post_id (int)

Parent post ID.

$data (array<string, mixed>)

content (new), previous_content, author_id and editor_id.

Example

add_action( 'clanbite_social_kit_comment_updated', function ( $comment_id, $post_id, $data ) {
	// Run your code.
}, 10, 3 );

Defined in inc/Rest/Rest_Controller.php

Changelog

VersionDescription
1.6.2Introduced.