I realize this topic has been discussed but there has never been a resolution. I'm looking for a way to pull the alert counts from XenForo to show on a WordPress blog. There is a public function countAlertsForUser($userId) and I'm trying to figure out the best way to echo that count. echo XenForo_Model_Alert::countAlertsForUser($userId) Does anyone have any suggestions? Should I just simply use the SELECT COUNT(*) FROM xf_user_alert and build this or use the public function? Thank you for the guidance.