Display XF version on external page

LPH

Well-known member
I'm trying to figure out the best way to display the currently installed XenForo installed on a website. The php page is for diagnostics / troubleshooting a WordPress plugin.

I tried the following but nothing is returned for XF.

Code:
  echo "The installed version of XenForo is" ;
   global $XF;
   echo $version ;

   echo "<br />The installed version of WordPress: ";
   echo bloginfo('version');

Thank you for any guidance.
 
Top Bottom