WordPress at a glance
function is not described

wpsc_is_caching_user_disabled() WPSCache 1.0

Check if caching is disabled for the current visitor based on their cookies

No Hooks.

Return

null. Nothing.

Usage

wpsc_is_caching_user_disabled();

Code of wpsc_is_caching_user_disabled() WPSCache 1.7.3

<?php
function wpsc_is_caching_user_disabled() {
	global $wp_cache_not_logged_in;
	if ( $wp_cache_not_logged_in == 2 && wpsc_get_auth_cookies() ) {
		wp_cache_debug( 'wpsc_is_caching_user_disabled: true because logged in' );
		return true;
	} elseif ( $wp_cache_not_logged_in == 1 && ! empty( $_COOKIE ) ) {
		wp_cache_debug( 'wpsc_is_caching_user_disabled: true because cookie found' );
		return true;
	} else {
		wp_cache_debug( 'wpsc_is_caching_user_disabled: false' );
		return false;
	}
}