Best Practices in Plugin Development (WordCamp Seattle)
16. Apr 2011•0 gefällt mir•26,966 views
Downloaden Sie, um offline zu lesen
Melden
Technologie
My talk -- officially named "Y U NO CODE WELL" -- at WordCamp Seattle 2011 on best practices during plugin development. Find the video, as it provides some good context and conversation.
31. uninstall.php
if
(!defined
('WP_UNINSTALL_PLUGIN'))
die();
delete_option('my_plugin_option');
There’s also a hook, like activation and
deactivation, but it has its caveats.