[wp-hackers] Activation hook exist for themes?

Dion Hulse (dd32) wordpress at dd32.id.au
Sun Aug 30 23:46:30 UTC 2009


Theres a ticket, there was a messy patch from me(IIRC) but i dont think  
its in core yet.

On Mon, 31 Aug 2009 02:52:32 +1000, Peter Westwood  
<peter.westwood at ftwr.co.uk> wrote:

> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
--
Dion Hulse
e: contact at dd32.id.au
w: http://dd32.id.au/
m: 04 6621 9112 (+614 6621 9112)
WordPressQI: http://wordpressqi.com/


More information about the wp-hackers mailing list