apply_filters( 'clanbite_forums_user_can_delete_own_topic', bool $can, object $topic, int $user_id )Filters whether an author may delete their own topic.
Filter PHP
Parameters
$can(bool)Whether deletion is allowed.
$topic(object)Topic row.
$user_id(int)Acting user ID.
Example
add_filter( 'clanbite_forums_user_can_delete_own_topic', function ( $can, $topic, $user_id ) {
// Change $can here.
return $can;
}, 10, 3 );Defined in inc/forums-action-menus.php