wp_suspend_cache_invalidation [ WordPress Function ]
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
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.
Examples [ wp-snippets.com ]
Top Google Search Results
- Function Reference/wp suspend cache invalidation « WordPress ...
Description. 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 ...
codex.wordpress.org - <?php /* Plugin Name: WordPress Importer Plugin URI: http ...
... $this->process_tags(); $this->process_terms(); $this->process_posts(); wp_suspend_cache_invalidation( false ); // update incorrect/missing information in the ...
plugins.svn.wordpress.org - Docs for page post.php
See wp_suspend_cache_invalidation(). since: 3.0.0; uses: do_action() - Calls ' clean_attachment_cache' on $id. void clean_attachment_cache (int $id, [bool ...
phpdoc.wordpress.org - WordPress 3.4-beta1 » WordPress\Cache
Apr 5, 2012... with the attachment ID. This function will not run if $ _wp_suspend_cache_invalidation is not empty. See wp_suspend_cache_invalidation().
docs.garyjones.co.uk