wpsc_protected_directories filter-hookWPSCache 1.0

Usage

add_filter( 'wpsc_protected_directories', 'wp_kama_wpsc_protected_directories_filter' );

/**
 * Function for `wpsc_protected_directories` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_wpsc_protected_directories_filter( $array ){

	// filter...
	return $array;
}
$array
-

Where the hook is called

wpsc_get_protected_directories()
wpsc_protected_directories
wp-super-cache/wp-cache-phase2.php 1182-1194
return apply_filters(
	'wpsc_protected_directories',
	array(
		$cache_path . '.htaccess',
		$cache_path . 'index.html',
		$blog_cache_dir,
		$blog_cache_dir . 'index.html',
		$blog_cache_dir . 'meta',
		$blog_cache_dir . 'meta/index.html',
		$cache_path . 'supercache/index.html',
		$cache_path . 'supercache',
	)
);

Where the hook is used in WP Super Cache

Usage not found.