wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_suspend_cache_addition › WordPress Function
Desde3.3.0
Obsoleton/a
› wp_suspend_cache_addition ( $suspend = null )
Parâmetros: |
|
Retorna: |
|
Definido em: |
|
Codex: |
Temporarily suspends cache additions.
Stops more data being added to the cache, but still allows cache retrieval. This is useful for actions, such as imports, when a lot of data would otherwise be almost uselessly added to the cache. Suspension lasts for a single page load at most. Remember to call this function again if you wish to re-enable cache adds earlier.Funções relacionadas: wp_suspend_cache_invalidation, wp_cache_add, wp_media_attach_action, wp_cache_add_multiple, wp_get_attachment_caption