wp_cache_update_accepted_strings()
No Hooks.
Return
null
. Nothing (null).
Usage
wp_cache_update_accepted_strings();
wp_cache_update_accepted_strings() wp cache update accepted strings code WPSCache 1.12.4
function wp_cache_update_accepted_strings() { global $cache_acceptable_files, $wp_cache_config_file, $valid_nonce; if ( isset( $_REQUEST[ 'wp_accepted_files' ] ) && $valid_nonce ) { $text = wp_cache_sanitize_value( $_REQUEST[ 'wp_accepted_files' ], $cache_acceptable_files ); wp_cache_replace_line( '^ *\$cache_acceptable_files', "\$cache_acceptable_files = $text;", $wp_cache_config_file ); } }