WordPress at a glance
function is not described

WP_Super_Cache_Rest_Get_Settings::get_cache_type() public WPSCache 1.0

{} It's a method of the class: WP_Super_Cache_Rest_Get_Settings{}

No Hooks.

Return

String.

Usage

$WP_Super_Cache_Rest_Get_Settings = new WP_Super_Cache_Rest_Get_Settings();
$WP_Super_Cache_Rest_Get_Settings->get_cache_type();

Code of WP_Super_Cache_Rest_Get_Settings::get_cache_type() WPSCache 1.7.1

<?php
public function get_cache_type() {
	global $wp_cache_config_file;
	if ( function_exists( "opcache_invalidate" ) ) {
		@opcache_invalidate( $wp_cache_config_file );
	}
	include( $wp_cache_config_file );

	if ( $wp_cache_mod_rewrite == 1 ) {
		return 'mod_rewrite';
	} else {
		return 'PHP';
	}
}