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

get current node id?

#1
Hello.

I am currently trying to get the current node id in a php callback script. Basically, I know you can get the current visitorID by doing this

PHP:
$visitorID = XenForo_Visitor::getUserId();
is there a similar code to get the current node id the user is viewing?

Also sorry for not linking my account with xenforo license. My admin is on a break and I have to wait for him to add me so for now I must post here.