Clanbite Forums REST

do_action( 'clanbite_forums_after_reply_deleted', int $reply_id, object $reply, object $topic )

Fires after a forum reply was hidden/deleted via REST.

Action PHP

Parameters

$reply_id (int)

Reply ID.

$reply (object)

Reply row before hide.

$topic (object)

Parent topic row.

Example

add_action( 'clanbite_forums_after_reply_deleted', function ( $reply_id, $reply, $topic ) {
	// Run your code.
}, 10, 3 );

Defined in inc/Rest/Rest_Controller.php