The activation tag has no wiki summary.
24
votes
2answers
12k views
Uninstall, Activate, Deactivate a plugin: typical features & how-to
I'm making a wordpress plugin. What are typical things I should include in the uninstall feature?
For example, should I delete any tables I created in the install function?
Do I clean up my option ...
6
votes
3answers
5k views
How To Activate Plugins via Code?
If possible, how can installed plugins (meaning the files have been placed in wp-content/plugins directory) be activated from other plugins?
1
vote
3answers
855 views
Problem creating a table with dbDelta
I'm working on a plugin that was creating a table successfully.
However, I decided to test it in a fresh install of Wordpress (on my local server) and now the table is not being created in my ...
2
votes
3answers
635 views
Multisite: setting theme and options when a new blog is created
When a new blog is created in a WP Multisite instance I want to be able to set the default theme and configuration options
create 2 menus (main and secondary) and associate them with the 2 slots ...
0
votes
1answer
121 views
Force plugin to fail activation
I'm writing a plugin that will be using custom fields added by a theme.
Because of this, it would be ideal if my plugin not be able to activate should these fields not exist.
How do I go about ...