אפשר גישה רק כאשר למשתמש יש תוכנית מנוי ב-Memberpress

Can I just call the function logout_from_discourse() or do I have to copy all that code?