Title: Undo / Unset Values
Last modified: April 12, 2020

---

# Undo / Unset Values

 *  [hshah](https://wordpress.org/support/users/hshah/)
 * (@hshah)
 * [6 years ago](https://wordpress.org/support/topic/undo-unset-values/)
 * Once the X and Y values have been set, is there actually a way to make those 
   fields “null” again, without making the change directly in the database?
 * I know I can just uncheck the Enable Smart Cropping option to “turn it off” but
   the field is still populated with the previously set values.
 * It wouldn’t take long to write a small function to just delete _wpsmartcrop_image_focus
   if Smart Cropping is disabled for that image, but thought I was ask here first
   in case I was missing something else obvious 🙂

The topic ‘Undo / Unset Values’ is closed to new replies.

 * ![](https://ps.w.org/wp-smartcrop/assets/icon-256x256.png?rev=1371575)
 * [WP SmartCrop](https://wordpress.org/plugins/wp-smartcrop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smartcrop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smartcrop/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smartcrop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smartcrop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smartcrop/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hshah](https://wordpress.org/support/users/hshah/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/undo-unset-values/)
 * Status: not resolved