$referer_parse = parse_url($_SERVER[‘HTTP_REFERER’]);
if(strpos($referer_parse[‘path’], ‘/atterraggio-connect-facebook’)===false)
{
wp_redirect(home_url());
exit;
}
*/
if(!isset($_GET[‘status’]) or $_GET[‘status’] != ‘yes’)
{
wp_redirect(home_url());
exit;
}
wp_logout();
[/insert_php] [formidable id=2]