Skip to content

Instantly share code, notes, and snippets.

@harshvladha
Created December 9, 2016 18:39
Show Gist options
  • Save harshvladha/7905558d2e8c46dcff20ecee8d4c0343 to your computer and use it in GitHub Desktop.
Save harshvladha/7905558d2e8c46dcff20ecee8d4c0343 to your computer and use it in GitHub Desktop.
Social Login Plugin Integration - Step - 2
<?php
require 'init.php'; //this path must be relative path to this file
require ROOT_DIR."libraries/functions/loggedin.php";
if(loggedIn()){
//user is logged in
}else{
//user is not logged in
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment