<?php
include '../sample-wp/wp-config.php';
global $wpdb;
global $current_user;
session_start();
get_currentuserinfo();
$user_id = $current_user->ID;
$sessions = WP_Session_Tokens::get_instance($user_id);
$sessions->destroy_all();
session_destroy();
header("location:../franchise-admin");
?>