wp_cache_update_accepted_strings()WPSCache 1.0

Хуков нет.

Возвращает

null. Ничего.

Использование

wp_cache_update_accepted_strings();

Код wp_cache_update_accepted_strings() WPSCache 1.8

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 );
	}
}