Skip to content

Commit c9c8179

Browse files
committed
docs: document closeThread function
Signed-off-by: Luca Zeuch <[email protected]>
1 parent 3dbf5fa commit c9c8179

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

content/docs/reference/templates/functions.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ Unless specified otherwise, these functions accept an ID, name, or `nil` for the
2626

2727
Adds a member to an existing thread. Does nothing if either argument is invalid.
2828

29+
### closeThread
30+
31+
```yag
32+
{{ closeThread <thread> <lock> }}
33+
```
34+
35+
Closes the given thread.
36+
37+
- `lock`: whether to also lock the thread. Default `false`.
38+
2939
### createForumPost
3040

3141
```yag

0 commit comments

Comments
 (0)