using Server object in Wordpress