We recently deactivated the bbPress plugin because we don’t use it anymore. Immediately following that, no admin users can get into the dashboard without hitting the infamous: “You do not have sufficient permissions to access this page?” We tried removing ALL plugins to rule out a dependance from one of those, but it didn’t work.
So this is what I’ve read: Many plugins might get WordPress slow if they are activated Many plugins might get WordPress slow even if they are not activated!? An example Let’s say I build a large plugin and activate it in WordPress. Later on I figured it would be better to split the plugin into […]
I would like that every time any plugin previously activated, a function from my plugin be called, returning (at least) the name of the plugin, or something that allows to identify it (file name?). I figured i could use the action hook “deactivated_plugin” but i’m wondering what information from the desactivated plugin is actually available?
I want to display a message when the user try to activate my plugin. This message will ask if him really wants to activate the plugin or, if him change his mind, cancel the activation. How can I accomplish that? This is the code for the warning message just for reference. — UPDATED CODE — […]
I created a plugin and want to add a function to delete my tables from the database when a user deletes my plugin. I created a function that deletes tables from the DB when a user deactivates my plugin, but I don’t want that. Here is the code: // Delete table when deactivate function my_plugin_remove_database() […]