No, the activation, deactivation and uninstall hooks will not be run when the plugin is updated.
So when your plugin is updated the page will still be there (assuming the user has not deleted it), and it will not be deleted on uninstall if your plugin no longer does this on uninstall.
If you want to do something on update, the proper way is described here:
The proper way to handle an upgrade path is to only run an upgrade
procedure when you need to. Ideally, you would store a “version” in
your plugin’s database option, and then a version in the code. If they
do not match, you would fire your upgrade procedure, and then set the
database option to equal the version in the code.
You could then delete the page in question in that upgrade procedure.
Related Posts:
- WordPress Update Plugin Hook/Action? Since 3.9
- Update exisiting site to 3.5 release candidate
- Version upgrade: can my plugin filter the SQL statements issued during a database upgrade?
- Plugin Upgrade Strategy
- How to update an existing table while updating plugin?
- Can a plugin be used to contain all custom functions to extend other plugins
- How a deprecated function can crash WordPress site while upgrading
- Upgrade private plugin without deleting files?
- Plugin development: delete options when updating to a new version
- WP Plugin with Upgrade option
- dbdelta failing with error: “WordPress database error Table ‘wp_2_myPlugin’ already exists
- Rewrite not working since upgrade to 5.9
- Upgrade routine: Interaction with user confirmation
- How can I get a plugin to hook ‘dbdelta_queries’ — a filter used during version update?
- dbDelta not creating tables
- Default table collation on plugin activation?
- How to implement color picker from wordpress in my plugin?
- Nonces can be reused multiple times? Bug / Security issue?
- How to auto-upgrade my plugin?
- How to Add a .js file Only in one specific Page Dynamically to Head
- Displaying search results in the widget itself?
- Missing “category_children” option when dynamically creating categories via a plugin
- Looking for callback function after Gutenberg is rendered?
- How to duplicate a curl XML request using HTTP API?
- 404 errors after plugin options update and category base change
- How to determine, from plugin script, if active theme has The Post Title
- Widget Admin – Form Submit Event?
- add_filter : Passing an array instead of the callback function?
- WordPress security issue to output data from user input from theme option form
- Using wp_parse_args to set up Plugin Default Settings
- how to add Jquery script to one page?
- how do you prevent showing a particular category on the admin dashboard for specific user roles?
- Add a class to a dynamic sidebar’s wrapper
- Issue regarding $wpdb->prepare()
- Checkbox Undefined index error in Plugin
- Change the look and feel of admin pages
- how to search users by ajax live search
- Generate JSON files for language translation from po file without wp-cli i18n make-json
- Display WordPress the_content() via data attributes
- Constraints in custom tables for plugin development – Yes or No?
- Run Shortcode of post’s custom field in functions.php / Plugin
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- load_plugin_textdomain doestn’t work with add_action plugins_loaded
- wp_get_post_terms Order by not working
- Naming conventions when using (PHP5) namespaces?
- Readme.txt seems to be cached but not the version
- Issue on Checkbox with Custom Option Page
- change add to cart button link [closed]
- Encoding Method for URLs?
- Store custom meta box data as serialized array
- How to get post meta in functions?
- AJAX request not routing through proxy
- Plugin access to average users not only admin
- Why won’t this submenu page show? – My First WordPress Plugin
- Multiple dynamic Tax Query – pass taxonomy argument from array
- ACF Field value in wordpress login message filter
- ajax stopped working when not logged in wordpress
- Hook for validating and rejecting frontend image upload
- Overriding the template files using a plugin for all themes
- Plugin removes itself if mistake made during edit
- Using meta_key & meta_value in add_rewrite_rule
- Can’t create a blank template
- Custom Registration Form and Passwords
- Determine if the current page, is being edited
- List Table action argument not cleared
- Fullwidth slider using background image Flexslider WordPress
- Return value of $wpdb->update() query in plugin is wrong
- Plugin files not updated (cache cleared)
- How to limit the number of posts a user can view based on status
- WordPress permalink setting
- Error when trying to save custom post type settings (ERROR: options page not found)
- How to add additional field in a table row after creating a table?
- WordPress plugin tables become corrupt
- How to call a new php page inside a plugin page?
- How can i call from custom fields to the category editor?
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- If I want to create new taxonomies (e.g. Project / Documents / Etc…) is it better to create them in the theme’s functions.php or within a plugin? [duplicate]
- Is the only way to add taxonomy terms via an admin panel?
- Checking if the query is empty does not work
- Remove default wordpress roles
- What is the meta_query key name for the woo product average rating? [closed]
- how to catch a data from a array in WordPress
- get the queried_object of an url
- Advanced Custom Fields conflicting with custom plugin when saving custom field
- Need someone to help you want to manage points for members to code interface functions? thank you
- Call API on post save/update and show the result in admin area
- Is there any other ways to replicating changes on live from staging without pushing from git
- Why my admin-ajax url returns 0 even after adding echo and die() at the end of function?
- External api call using wordpress
- Set link dialog to open in blank by default
- plugabble wp_authenticate function not works from wp-login.php
- How to get recent one post from each category on home page?
- WordPress plugin boilerplate AJAX functionality
- Run different permission_callback depending on HTTP method of custom REST API endpoint
- upload image to wordpress media library failed for custom post type
- Fetch Custom Woocomerce filed data and check the data avialble in Wp-user table as nicname or username using function.php
- How to get locale within WP REST Request?
- How to add extra EXIF data when images are uploaded?
- How to boost WP custom post REST API GET queries by custom taxonomies
- I want to redirect user to an amazon product page from my wordpress website when they add product to there cart [closed]