Hello,
To get the version ID for XenForo, you need to call the following static variable :
\XF::$versionId
I would like to make a conditionnal check, to check if the version is older or equal to 2.1 (I don't care if it's a beta or stable release).
I read the following doc ...