[wp-hackers] Activation hook exist for themes?
Peter Westwood
peter.westwood at ftwr.co.uk
Sun Aug 30 16:52:32 UTC 2009
I'm pretty sure we have theme activation hooks now but I'm not near my
pc to check.
--
Peter Westwood
http://peter.westwood.name
On 30 Aug 2009, at 13:13, Ozh <ozh at planetozh.com> wrote:
> Last time I checked there was no such hook
>
> A simple workaround is:
> if ( is_admin() && isset($_GET['activated'] ) && $pagenow ==
> "themes.php" ) {
> // do your stuff
> }
>
> On Sun, Aug 30, 2009 at 2:08 PM, rajasekharan<websweetweb at gmail.com>
> wrote:
>> Similar to register_activation_hook for plugins, do activation
>> hooks exist
>> for a themes in wordpress?
>>
>
>
>
> --
> http://planetOzh.com ~ Blog and WordPress Stuff
> http://FrenchFragFactory.net ~ Daily Quake News
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list