Why we use of_get_option() function in Wordpress?


I was learning Wordpress theme development. I saw this function used at many places. I tried to do some research from Wordpress site but couldn’t get clear idea. Can somebody throw more light on it?


Seems to be part of the options framework plugin - http://wptheming.com/options-framework-plugin/

yes. I already saw this video but don’t understand this plugin is not installed with the theme I am learning from then how it is calling it’s functions.

No idea, it could be using the Options Framework Theme Kit?

In fact, that looks to be what they did. They used the options framework theme kit to build their theme, which includes the of_get_option() function. Also looks like it is providing a mechanism for reading theme configuration items, but that is purely my understanding of it (as I’ve never used it myself).