Codex tools: Log in
Contents |
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 ); ?>
Since: 2.7
wp_suspend_cache_invalidation() is located in wp-includes/functions.php