WordPress Theme activation hook?

I know the many tricks to see if said theme is activated, I have scoured the internet. I am not looking for re-pasting of that code. What I am looking for though is weather or not 3.3-3.5 released a new function that does something upon theme_init, I saw some sort of hook, but I can’t remember where, in the codex, dealing with doing things after a theme has been initialized..

Any one know?

4

You might be looking for the after_setup_theme hook:

http://codex.wordpress.org/Plugin_API/Action_Reference/after_setup_theme

Leave a Comment