wpsc_protected_directories хук-фильтрWPSCache 1.0

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

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
-

Где вызывается хук

wpsc_get_protected_directories()
wpsc_protected_directories
wp-super-cache/wp-cache-phase2.php 1187-1199
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',
	)
);

Где используется хук в WP Super Cache

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