Welcome back @frissdiegurke 🙂
How to get topicData in filter:topic.thread_tools
-
Hi,
I need to add an entry in the ThreadTools menu.
Based on the value of the topic I want to display "Set ..." or "Unset ...".
How can I get the topicData using the hook filter:topic.thread_tools. -
Hi this is not possible with the current data passed into the hook. We can add the necessary data in 0.7.0 since its a breaking change.
-
Thanks @baris ,
for now, I'll find an alternative solution for my plugin. -
This is now on master. The data that is passed to the filter includes the topic, the uid of the current user and an empty
tools
array.