New Zenner
- Join Date:
- Jul 2007
- Posts:
- 10
- Plugin Contributions:
- 0
Check if admin is logged in?
:cry:
How do i check if admin is logged in?
Im making a blog feature and need to know in the front end if admin is logged in.
this does not seem to work in the front end.
if (!defined('IS_ADMIN_FLAG')) {
echo $this;
}else{
echo $that;
}