I believe you are looking for activated_plugin
and deactivated_plugin
, see the wordpress documentation:
Related Posts:
- WooCommerce: after install hook
- How to get post ID with hooks publish_post, new_to_publish, etc
- Redirect to another page using contact form 7? [closed]
- edit_user_profile and show_user_profile are not firing inside a class
- Template filter for custom taxonomy terms
- Add sub menu page in your plugin
- how to change automatic placing of social plugins below content?
- Get plugin download URL from slug
- Modify wp_installed_email / wp_new_blog_notification
- What exactly happens to function argument availability when using a filter?
- Installing wordpress on a subdomain of an already existing static website
- Combining several CSS files into one for optimization
- the_post hook is not firing for me
- Why do plugins often ask to add in to templates?
- Deactivate JS Script in Plugin Shortcode
- Create a post builder skin in a plugin
- remove_action not removing add_action from constructor
- Plugin Development – Functions or Hooks?
- How to get menu location in wp_update_nav_menu hook
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Can my hooked uninstall class function access a global var declared in main plugin file?
- plugin generated 751 characters of unexpected output during activation
- Flipping Book PHP Code? Any experience?
- WordPress Plugins Don’t Automatically Update
- Turning on output buffering in a wordpress plugin
- Can plugin2 uninstall plugin1 at the very beginning of plugin2’s installation?
- Hook for page Request?
- Display Plugin Panels Outside of Admin Areas
- What are the correct permissions so WP doesn’t ask for FTP credentials if installing plugin?
- Are there action hooks for comments?
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- How to remove js ui library added by default by wordpress
- How to use template_include hook with form submission?
- Adding Plugin Assets to Header
- Add item to the woocommerce dashboard menu from a plugin
- How to use the pre_option filter before a plugin loads?
- What are admin hooks
- How do I add $_SESSION[”] to my wordpress page?
- To perform the requested action, WordPress needs to access your web > server
- How to use filter to disable adding a product to wishlist?
- Save user total active time after login in wordpress [closed]
- WordPress: Add custom add_filter for custom functions
- How to remove a class function from a plugin by using remove_action()?
- Advanced WordPress plugin activation detection
- profile_update hook doesn’t works inside a class
- wp_loaded with static Singleton
- WordPress unable to write files in the server
- wp_trash_post hook – problem with page updating if using wp_die
- How to return the values from a row where a value occurs for the first time among the rows available?
- Function added to hook “new_to_publish” not executing – custom plugin
- Programmatically install and activate child-theme
- is it possible to hook every page style?
- Comment Approve – Add custom function when comment is approved
- Plugin: Hooking up classes that have their own hooks
- Installing plug ins on a wordpress hosted site
- Add action to custom Function
- Can’t Install/Upgrade Plugins Through WordPress
- Hook for altering the content of all wp mails
- Unable to install plugins
- Hook on creating a menu entry?
- What hook can I use to modify custom post data before it is displayed on the page?
- How to hook into action/filter call
- Quick press publish post hook
- Prevent plug-in scripts on a specific template?
- using wp_footer hook in a plugin
- Plugin Add New Installer failing
- How to deactivate my plugin upon deactivation of NextGen
- How to automatically activate users after registration without activation email?
- Creating a plugin that will display text on every page
- Hooks to run after a core upgrade?
- Installing a Plugin ( Which is already manually uploaded )
- Plugin Hook When New Author Added
- Adding custom Field To The Posts Listing
- Hook for plugin to insert into entry-meta
- All new plugins generating 311 chars of unexpected output?
- Why does “updated_post_meta” did not fire when uploading media other than image?
- Build a must-use plugin that tracks when other plugins are activated or deactivated
- Change Dashboard URL from wp-admin to wp-admin/index.php
- Activation flow of a plugin in a multisite environment
- Use a hook or filter, or overwrite this Gamipress function?
- Hook from plugin doesn’t fire up from external PHP script
- Add hook after content without formatting
- Using Remove Action Hook in Plugin
- WordPress Custom Hook with Class method
- Fail on admin_enqueue_scripts when I try it to upload a CSS file to my WordPress Plugin
- admin_post hook not firing function inside class
- How to remove a hook written with $this?
- Is there a hook similar to “save_post” which only fires AFTER the post is completely published?
- update_option_{$option} not working (do function after options are saved)
- Alternative Hook to the_content for Changing Background Color
- Unpublished Pages Failing To Appear On Custom Path
- add a hook of Woocommerce to a plugin but it only shows and doesn’t function properly
- Callback hooked to post_updated firing on new posts as well
- Randomize post (and page) IDs on generation
- save_post hook partly firing in update post
- My plugin runs on every single WordPress page, but I want it to run only on activation
- The function called on the wp head hook becomes null
- Upload WordPress Plugin from ZIP Broken – Returns Symbols Squares & question marks
- ACF Fields are not showing up on Homepage
- Hooking into the HTML header container