Loads a single topic (full serialized payload) from forum slug and topic slug, matching public REST behaviour.
- Ability
clanbite-forums/get-topic-by-slugs- Label
- Get forum topic by slugs
- Category
- Access
- Public
Input
| Property | Type | Description |
|---|---|---|
forum_slug required | string | Forum slug. |
topic_slug required | string | Topic slug within the forum. |
JSON Schema
{
"type": "object",
"properties": {
"forum_slug": {
"type": "string",
"description": "Forum slug."
},
"topic_slug": {
"type": "string",
"description": "Topic slug within the forum."
}
},
"required": [
"forum_slug",
"topic_slug"
]
}Output
Serialized topic (same shape as REST).
Type: object
JSON Schema
{
"type": "object",
"description": "Serialized topic (same shape as REST)."
}Defined in inc/Forums/Forum_Abilities.php