Title: Not playing well with WP core function wp_using_ext_object_cache()
Last modified: July 4, 2024

---

# Not playing well with WP core function wp_using_ext_object_cache()

 *  Resolved [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/not-playing-well-with-wp-core-function-wp_using_ext_object_cache/)
 * Hi,
   WordPress has a core function to check if persistent object cache is enabled
   on a site or not. It’s `wp_using_ext_object_cache()` Link: [https://developer.wordpress.org/reference/functions/wp_using_ext_object_cache/](https://developer.wordpress.org/reference/functions/wp_using_ext_object_cache/)
 * But the problem is that inside this plugin settings if I click on “Disable Object
   Cache” which flushes the object cache + removes the drop-in, but the above function
   still returns `true`.
 * Is something can be done to ensure the WP core function to check if a site is
   using persistent object cache returns correct data reliably?
 * Looking forward to your reply.

Viewing 1 replies (of 1 total)

 *  Thread Starter [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/not-playing-well-with-wp-core-function-wp_using_ext_object_cache/#post-17876403)
 * The problem was coming from OPCache and not this plugin. Problem solved.

Viewing 1 replies (of 1 total)

The topic ‘Not playing well with WP core function wp_using_ext_object_cache()’ is
closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/not-playing-well-with-wp-core-function-wp_using_ext_object_cache/#post-17876403)
 * Status: resolved