user_can_reply_in_topic( int $viewer_id, object $topic, object $forum ): boolWhether the user may post a reply in this topic.
Site forums managers and assigned forum moderators may always reply. Topic policy self::VIS_AUTHOR_MODS limits replies to the topic author and staff. Private denies other users (extend via 'clanbite_forums_user_can_reply' at the REST layer).
public static
Class: Kernowdev\ClanbiteForums\Forums\Visibility
Parameters
$viewer_id(int) RequiredWordPress user ID (0 = guest).
$topic(object) RequiredTopic row.
$forum(object) RequiredForum row for the topic.
Returns
bool
Defined in inc/Forums/Visibility.php