How to get attribute option label/attribute text with option_id?

How to get attribute option label/attribute text with option_id?

Use the below code.

Editorial Staff
 

Editorial Staff at tutsplanet is a dedicated team to write various tutorial articles.