How to get all tags in a subtype ?

I want to get all tags in a subtype

for example

subtype Blogs  has 4 post , with tags : economy, economy,politic, nature

 

subtype Pages has 2 post , with tags : news, opinion

 

how to get list of Blogs tags

  • economy,
  • politic ,
  • nature

and Pages tags

  • news,
  • opinion

 

?

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking