CP_Settings::cp_apcu_cache_option_change( $old_value, $new_value, $option_name )
Trigger code to add or remove object cache handler file on setting change
Source
File: wp-includes/classicpress/class-cp-settings.php
public function cp_apcu_cache_option_change( $old_value, $new_value, $option_name ) {
if ( $option_name === 'cp_object_cache' && $new_value !== $old_value ) {
$this->_cp_maybe_install_apcu_object_cache();
}
}
Changelog
| Version | Description |
|---|---|
| CP-2.7.0 | Introduced. CP-2.7.0 |