pre_cache_alloptions filter-hook . WP 4.9.0
Filters all options before caching them.
Usage
add_filter( 'pre_cache_alloptions', 'filter_function_name_2478' ); function filter_function_name_2478( $alloptions ){ // filter... return $alloptions; }
- $alloptions(array)
- Array with all options.
Changelog
Since 4.9.0 | Introduced. |
Where the hook is called
pre_cache_alloptions
wp-includes/option.php 257
$alloptions = apply_filters( 'pre_cache_alloptions', $alloptions );