wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_suspend_cache_invalidation › WordPress Function
Since2.7.0
Deprecatedn/a
› wp_suspend_cache_invalidation ( $suspend = true )
Parameters: |
|
Returns: |
|
Defined at: |
|
Codex: |
Suspend cache invalidation.
Turns cache invalidation on and off. Useful during imports where you don't want 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.Related Functions: wp_suspend_cache_addition, wp_opcache_invalidate, wp_cache_init, wp_check_invalid_utf8, wp_media_attach_action