[wp-hackers] Replace One Plugin With Another
kiran.kspl at gmail.com
kiran.kspl at gmail.com
Sun May 27 01:56:21 UTC 2012
T
Sent from my BlackBerry® smartphone from !DEA
-----Original Message-----
From: scribu <mail at scribu.net>
Sender: wp-hackers-bounces at lists.automattic.com
Date: Sun, 27 May 2012 03:42:25
To: <wp-hackers at lists.automattic.com>
Reply-To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] Replace One Plugin With Another
Instead of mucking with the widget factory, you should attempt to prevent
the other widget from being registered at all, by calling remove_filter()
at the appropriate time.
Then, register your own widget with the old widget's ID.
--
http://scribu.net
_______________________________________________
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