Title: plugin update query
Last modified: January 9, 2022

---

# plugin update query

 *  [jackjonasstack](https://wordpress.org/support/users/jackjonasstack/)
 * (@jackjonasstack)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-query/)
 * which action occur while plugin update suppose i have to update the code with
   previous data stored then where should i have conditions?

Viewing 1 replies (of 1 total)

 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-query/#post-15235187)
 * Is this a plugin you have written? As normally you would add an option e.g. version,
   in your plugin and check that and if it changes you do what you need with your
   data.
 * If it is not your plugin, can you further explain why you need to do this? If
   however you do, you would probably have to write a mini plugin or add to your
   child theme functions.php to add some code.

Viewing 1 replies (of 1 total)

The topic ‘plugin update query’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-query/#post-15235187)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
