On this page
apply_filters( 'pre_cache_alloptions', array $alloptions )
Filters all options before caching them.
Parameters
$alloptionsarray-
Array with all options.
Source
File: wp-includes/option.php. View all references
$alloptions = apply_filters( 'pre_cache_alloptions', $alloptions );
Related
Used By
| Used By | Description |
|---|---|
| wp_load_alloptions() wp-includes/option.php | Loads and caches all autoloaded options, if available or all options. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_cache_alloptions