So I almost finished my WordPress theme options framework which completely is XML driven. Now I am at the point where I want to include the theme options into my theme. I already have an array wit keys and values but I want to access it with a function like the standard WordPress: get_option(‘optionname’);
I don’t want to include it directly in to the header of my theme. Is there something like a WP hook which is fired at the beginning of displaying a theme?
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
Perhaps setup_theme?
Or take your pick 
http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request
Oh thank you so much! I searched for: wp_head();
This will finish my framework!
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
You’re welcome
Congrats on finishing your framework!
