No it does not. The uninstall.php file will only be run if a user deactivates the plugin and clicks the delete action.
https://developer.wordpress.org/plugins/the-basics/uninstall-methods/
Related Posts:
- Automatic updates in plugin – not hosted on wordpress repository
- WordPress updates defined vs add_filter?
- How to disable plugin update notification for a specific plugin in Multisite
- How to sync with plugins update after I have done manual optimizations?
- Update exisiting site to 3.5 release candidate
- Is there any way to test if a function running only on plugin update is successfully running?
- How Can I setup WP CLI on Windows development machine running AMPPS?
- Plugin updates, version dependencies, and backwards compatibility
- Reset plugins version cache | pre_set_site_transient_update_plugins
- How to test plugin update through WordPress plugin updater without tagging new release in the repo
- Update own Plugin Repository on Multisite
- Selectively update themes in WordPress multisite
- Custom WordPress Plugin will install new and not update
- How to cancel update messages from a changed plugin
- Update custom plugin with WP-CLI
- Readme.txt seems to be cached but not the version
- How best to handle database version dependence (from $wp_db_version)
- wordpress automatic update does not run
- pre_set_site_transient_update_plugins not updating
- Cannot update plugin
- Is using upgrader_process_complete the correct way to perform plugin updates?
- Plugin’s “Update Now” not working – Installed in folder with random suffix
- What is the wordpress wp-includes folder for?
- WordPress Update Plugin Hook/Action? Since 3.9
- How come `wp_options` table does not have an index on `autoload`?
- Best way to abort plugin in case of insufficient PHP version?
- Making a plugin file accessible via url rewrite?
- What is the correct way to build a widget using OOP
- Optimize shortcode callbacks
- Modifying the way WP sets cookies
- Which to use to execute code during the saving of a plugin settings page?
- How to get vim to autocomplete WordPress API functions?
- How do I make specific plugin functionality apply to different sites in a network?
- How do I handle multiple Submit buttons in plugin’s option page?
- What is a settings group actually for?
- add_meta_box() to Category Edit Screen?
- The changes I make to an external JS file of my WP plugin are only applied after I clear my browser’s cache
- How does gettext works for translating readme file of plugin?
- How to add multiple copies of a widget from “available widgets”
- How to add quick edit and bulk edit fields to users admin section
- How do I approach removing menu items on the fly based on settings in my plugin?
- Can I use core’s “or Link to Existing Content” feature in my plugin?
- Plugin with specific admin menu icon
- What does $_registered_pages do?
- How to Download and install plugin database remotely
- Should I always prefer esc_attr_e & esc_html_e instead of _e?
- using new WP_Query in save_post function alters $post
- Preview Changes button missing on custom post type page since updating to 3.4
- WP_Editor – Saving Value into Plugin Option – Stripping HTML
- How To Consistently Enforce Rewrite Rule in Plugin Development
- Warning: Cannot modify header information – How to resolve this issue? [closed]
- $paged always 0 on plugin’s custom page
- Create a new post using rest api and save featured image using an external image url
- How to restrict access to image folder depending on whether product is purchased or not?
- Caching the_content calls
- Is there a way in which I can compare product id with the order id to display content on front end before placing the order? [closed]
- Video Security just like facebook [closed]
- What happens when two or more plugins use the same hook?
- Plugin is not generating title tags on any pages or posts
- Adding columns to core tables
- Add child pages to submenu automatically
- Creating multiple wp_editer() text fields in for loop — the text/visual switch only works for first editor
- Injecting HTML on (arbitrary) admin pages
- Custom Stylesheet instead of Inline CSS for WordPress Customizer API Overrides
- Create page (not the post type) dynamically
- Updating transient value frequently
- AJAX button with success callback. (Titan Framework)
- Information on plugin adding text when a post, page, or other such is displayed
- Plugin’s total number of users
- How to edit wp-signup.php content using plugin
- Setting post_id for single.php based on URL without a redirect
- WordPress: redirecting to the form page after form submission to admin-post.php
- Action / Hook when a new plugin is added
- Change cannonical URL after changing url with add_rewrite_rule()
- Is it possible to develop themes and plugins locally while still allowing content to be updated directly in the admin dashboard?
- Is there any way to get post meta from publish_post hook?
- Performing ajax request in wordpress
- How to create save function for custom Gutenberg style block?
- How to create plugin settings page for each admin user?
- Using JavaScript in WordPress page to call for server data using AJAX
- Ajax calling in a function goes into abspath loop
- foreach argument to get specific file types getting too many returns
- How to fetch the post content from the wordpress editor before it can be saved(published)?
- How does one set cookies in WordPress without getting the ‘headers not sent’ error? within WP
- Filter the_content() to add custom figure tags
- Glyphicons Dont Show in WordPress Plugin Only
- Change the search results header from plugin
- Installing plugins on installation/activation
- Add query string variables to all hyperlinks URL matching a specified domain
- Is there such a thing as a WordPress console?
- Loading jQuery library from WordPress admin
- Anyway to prevent admin from seeing other admin’s product?
- Build a dynamic block using the default attributes
- Bulk post approval and publishing doesn’t work
- Show Admin Menu
- How to replace content of a block in and re-render on change?
- extending a core block doesn’t work inside the editor
- register_activation_hook doesn’t execute without add_action(‘init’,’some-function’)
- How to be GDPR compliant by loading plugins?
- Custom Plugin Breaks Other Plugin Functions