XF 2.0 How to grab username in callback

myselfolli

New member
I'm back again, with yet another probably really simple question.

I've (again) been looking all over, but I can't really find what I need, so here I go:

I have a php callback on a page I created, which is working beautifully. But now I want to grab the username (or id, doesn't really matter) of the user, that is loading & viewing the page. Can anyone help me out please?
 
Top Bottom