logout(); } // return empty if logged in user is not an agent. if ( $current_user->is_customer && ! $current_user->is_agent ) { return ''; } ob_start();?>