Clanbite Forums

update_topic_content( int $topic_id, string $title, string $content ): true|\WP_Error

Update topic title and opening-post HTML.

public static

Class: Kernowdev\ClanbiteForums\Forums\Data_Access

Parameters

$topic_id (int) Required

Topic ID.

$title (string) Required

Sanitized title.

$content (string) Required

HTML content (wp_kses_post).

Returns

true|\WP_Error

Defined in inc/Forums/Data_Access.php