Title: Hash Function For IP Address
Last modified: October 28, 2018

---

# Hash Function For IP Address

 *  Resolved [EnFi](https://wordpress.org/support/users/enfi/)
 * (@enfi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/)
 * Hello,
    how are you? The plugin is great, congratulations! I would like to ask
   if is possible to add an Hash Function For IP Address just to anonymize them 
   on the server, and not store them as transient.
 * I know is possible to set not store ip address but then they are stored like 
   a transient and whenever you delete transients eg. for database optimization 
   you loose all the ratings.
 * Do you have any ideas, on how to do that?
    Thank you very much, Kind regards

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10825898)
 * Hi, Ip address are not saved as transient.
 * They’re not saved (by default) or saved.
 * Transient are used to “cache” rating, but you can delete them without problems.
 * Best,
    Dario
 *  Thread Starter [EnFi](https://wordpress.org/support/users/enfi/)
 * (@enfi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10830013)
 * Hi Dario,
    thanks for your message and sorry for the confusion. So ratings are
   deleted when you delete transients, is there a way to avoid that? Just because
   sometimes it is useful to delete transients. Thanks for your kindness, Enfi
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10830506)
 * This is the point.
 * ratings are **NOT** deleted when you delete transients.
 * Dario
 *  Thread Starter [EnFi](https://wordpress.org/support/users/enfi/)
 * (@enfi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10834215)
 * Hi Dario,
    thanks for your message! Perfect, probably I’ve read somewhere that
   was written to delete transients for re-start ratings. Thank you very much. I’ve
   other 2 questions, I’ve seen that the plugin follow schema.org for rich snippets,
   but when I use it with Woocommerce it adds another product field, with only name
   and rating. So it duplicates the field that woocommerce creates itself. Do you
   have any ideas on how to solve, please? Thank you very much! Kind regards, Enfi
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10834344)
 * Can you please write me an email on free_support @ yetanotherstarsrating.com ?
 *  Thread Starter [EnFi](https://wordpress.org/support/users/enfi/)
 * (@enfi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10834486)
 * Yes, I will.
    Thank you very much! Kind regards,

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Hash Function For IP Address’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [EnFi](https://wordpress.org/support/users/enfi/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/hash-function-for-ip-address/#post-10834486)
 * Status: resolved