Skip to content

October 1, 2009

Disable all caching on specific pages

Copy and paste this code into the template you want to disable caching on, usually used on activation pages
if( is_object( $wp_object_cache ) )
	   $wp_object_cache->cache_enabled = false;

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments