Get Wordpress Post Type, Taxonomy and Term from object