wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_suspend_cache_invalidation › WordPress Function
Desde2.7.0
Obsoleton/a
› wp_suspend_cache_invalidation ( $suspend = true )
Parâmetros: |
|
Retorna: |
|
Definido em: |
|
Codex: |
Suspends 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.Funções relacionadas: wp_suspend_cache_addition, wp_opcache_invalidate, wp_opcache_invalidate_directory, wp_cache_init, wp_skip_spacing_serialization