XF 1.5 Thread title in media site callback?


Active member
I have defined several callback for media sites. Data is fetched by callback functions
public static function myCallBackFunction($mediaKey, array $site) {
This works pretty well. What I would need is the thread title within this callback function. Any ideas how I can get it?


XenForo developer
Staff member
This is not something that would be available to that callback (and note that these callbacks will potentially be triggered in contexts outside threads).