Thanks, but how then can i disable the facebook plugin? I know the condition, but I am looking for something like this:
if (...)
$facebookEnabled=false
what is the right statement to replace $facebookEnabled=false ?
You see, I am not trying to see if facebook login is disabled, i wanna make it disabled upon some known condition.