Clanbite Forums

clanbite_forums_user_can_delete_topic( int $user_id, object $topic ): bool

Whether the user may trash/delete a topic.

Parameters

$user_id (int) Required

WordPress user ID.

$topic (object) Required

Topic row.

Returns

bool

Defined in inc/forums-action-menus.php