wp_cache_update_accepted_strings()
Хуков нет.
Возвращает
null
. Ничего.
Использование
wp_cache_update_accepted_strings();
Код wp_cache_update_accepted_strings() wp cache update accepted strings WPSCache 1.9.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 ); } }