WordPress at a glance
function is not described

wp_super_cache_override_on_flag() WPSCache 1.0

No Hooks.

Return

Null. Nothing.

Usage

wp_super_cache_override_on_flag();

Code of wp_super_cache_override_on_flag() WPSCache 1.7.1

<?php
function wp_super_cache_override_on_flag() {
	global $cache_enabled, $super_cache_enabled;
	if ( true !== $cache_enabled ) {
		return false;
	}

	if ( 1 === (int) get_option( 'wp_super_cache_disabled' ) ) {
		$cache_enabled = false;
		$super_cache_enabled = false;
		define( 'DONOTCACHEPAGE', 1 );
		define( 'SUBMITDISABLED', 'disabled style="color: #aaa" ' );
		if ( is_admin() ) {
			add_action( 'admin_notices', 'wp_super_cache_multisite_notice' );
		}
	}
}