0
votes
0answers
42 views

How to disable limit login attempts plugin

Its really sucking me. I have not installed limit login attempts plugin but it is working when someone get login failed. In the admin it is showing in under setting menu. I tried to disable it but it ...
0
votes
0answers
13 views

Different plugins activated online and offline

I develop / add to / etc. my site offline, then transfer the updated database (in toto) to the live site. Some of the plugins I need / use offline, I don't need online, and vice versa. Is there a way ...
0
votes
0answers
62 views

Show a confirmation message on plugin deactivation

When my plugin is deactivated, I want to get a confirmation from the user whether all plugin options/tables need to be deleted or left as it is. Based on the option selected, I want to proceed ...
0
votes
1answer
40 views

WPMU If MU site has no administrator, deactivate site

So I been tinkering with this thought. Working w/ WooCommerce Subscriptions - if the user is a recurring paid member, they can create and manage their own subsite. However, say the recurring payments ...
0
votes
0answers
147 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
1k views

Disable WooCommerce action

I'm customizing a WooCommerce theme and am going to be moving the title. There is an action in content-single-product.php called do_action( 'woocommerce_single_product_summary' ); in the ...
0
votes
1answer
398 views

Why my Plugin keeps deactivating automatically?

I have a plugin called 'virtual theme' which I downloaded from the plugin directory, and it works great but i noticed sometimes when there's a change it with other plugins it seems to stop working and ...
1
vote
1answer
166 views

Can a plugin deactivate itself?

We have a situation where a couple of our longstanding plugins (Google Analytics is one) are currently offering the option to "Activate" them. This figures, because Google Analytics traffic stopped ...
0
votes
1answer
54 views

Is it possible to run javascript on plugin deactivated?

Is it possible to run javascript on plugin deactivated and if yes then, how should I achieve that. I have developing one plugin in which two new tables are created in wp database and on deactivation ...
0
votes
2answers
214 views

How to deactivate my plugin upon deactivation of NextGen

i'm writing this plugin and i need to deactivate it when NextGen is deactivated: <?php /* Plugin Name: Plugin Name Description: Description Version: 1.0 Author: Author Author URI: Author URI */ ...
0
votes
1answer
74 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 ...
0
votes
3answers
230 views

how to deactivate a plugin without using a WP function?

I wish to deactivate my plugin, but WITHOUT using update_option() or any other core WP function. What's the best way to go about this? Direct DB connection and modification?
0
votes
2answers
151 views

Do you clean up your self-written plugins' at deactivation?

After developing some plugins for myself, some of them is ready to be published. For all, I've written deactivation functions, which deletes the set options, the database, etc. after themselves. But ...
0
votes
2answers
251 views

Deactivate plugin upon deactivation of another plugin

Wondering if its possible to deactivate a plugin in the deactivation code of another plugin? IE. i have a widget that i'm adding via its own plugin that won't function if the 'master' plugin isn't ...
37
votes
2answers
19k 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 ...