Title: Automatic cache update when sorting posts
Last modified: September 30, 2025

---

# Automatic cache update when sorting posts

 *  [dkray](https://wordpress.org/support/users/dkray/)
 * (@dkray)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/automatic-cache-update-when-sorting-posts/)
 * I’m using the Post Types Order plugin to manually sort posts of a custom post
   type. However, after making changes to the sort order, I have to manually clear
   the cache of my website to ensure that the changes are visible on the frontend.
 * I was wondering if it’s possible to automatically update the cache when the sort
   order of posts is changed.
 * I’ve tried using the `cache_enabler_clear_complete_cache` hook, but I’m not sure
   if I’ve implemented it correctly.
 * Could you please help me find a solution to automatically update the cache when
   the sort order of posts is changed?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautomatic-cache-update-when-sorting-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Automatic cache update when sorting posts’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dkray](https://wordpress.org/support/users/dkray/)
 * Last activity: [8 months, 1 week ago](https://wordpress.org/support/topic/automatic-cache-update-when-sorting-posts/)
 * Status: not resolved