• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Thread title in media site callback?

rhodes

Active member
#1
I have defined several callback for media sites. Data is fetched by callback functions
Code:
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?
 

Mike

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