Tagged Questions
0
votes
0answers
33 views
admin_notices not working on plugin activation
The class "My_Plugin" initializes my plugin and the class "My_Plugin_Notices" is supposed to output various admin notices with its methods.
I set the property "admin_notices" in "My_Plugin" as an ...
0
votes
1answer
71 views
My plugin does not install correctly if a previous version is still installed
My plugin only installs correctly if the user first deactivates and then deletes a previously installed version. If they do not delete the previous version, the installation either does not complete ...
25
votes
2answers
13k 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 ...