[wp-trac] [WordPress Trac] #7795: Activate and Deactivate Theme hooks
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 18 19:57:47 UTC 2010
#7795: Activate and Deactivate Theme hooks
-------------------------+--------------------------------------------------
Reporter: jacobsantos | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 2.7
Severity: normal | Keywords: needs-patch
-------------------------+--------------------------------------------------
Comment(by christian_gnoth):
as themes are activated, it should be no problem to call a seperate
function for
deactivation
and
activation
the deactivation function should be called for the old theme and the
activation function for the new theme.
then through a hook the theme developer can fill that functions with
actions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7795#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list