Codex tools: Log in
Suspend cache invalidation.
Turns cache invalidation on and off. Useful during imports where you don't wont to do invalidations every time a post is inserted. Callers must be sure that what they are doing won't lead to an inconsistent cache when invalidation is suspended.
<?php wp_suspend_cache_invalidation( $suspend ); ?>
wp_suspend_cache_invalidation() is located in