Clanbite Forums REST

do_action( 'clanbite_forums_after_topic_updated', int $topic_id, object $topic )

Fires after a forum topic was updated via REST.

Action PHP

Parameters

$topic_id (int)

Topic ID.

$topic (object)

Fresh topic row.

Example

add_action( 'clanbite_forums_after_topic_updated', function ( $topic_id, $topic ) {
	// Run your code.
}, 10, 2 );

Defined in inc/Rest/Rest_Controller.php