Core Function
View Source on Trac ↗ wp_suspend_cache_addition()
wp_suspend_cache_addition( mixed $suspend = null ) Temporarily suspends cache additions.
Parameters 1 required
| Name / Type | Description |
|---|---|
| bool | $suspend Optional. Suspends additions if true, re-enables them if false. Defaults to not changing the current setting. Required |
Return Value
(bool)
The current suspend setting.
Function Information
Since Version
3.3.0
Source File
wp-includes/functions.php
Advertisement