wp_cache_update_rejected_cookies()WPSCache 1.0

Хуков нет.

Возвращает

null. Ничего.

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

wp_cache_update_rejected_cookies();

Код wp_cache_update_rejected_cookies() WPSCache 1.7.9

function wp_cache_update_rejected_cookies() {
	global $wpsc_rejected_cookies, $wp_cache_config_file, $valid_nonce;

	if ( isset( $_POST['wp_rejected_cookies'] ) && $valid_nonce ) {
		$text = wp_cache_sanitize_value( str_replace( '\\\\', '\\', $_POST['wp_rejected_cookies'] ), $wpsc_rejected_cookies );
		wp_cache_replace_line( '^ *\$wpsc_rejected_cookies', "\$wpsc_rejected_cookies = $text;", $wp_cache_config_file );
	}
}