RSSCache::__construct()publicWP 1.0

PHP5 constructor.

Method of the class: RSSCache{}

No Hooks.

Return

null. Nothing (null).

Usage

$RSSCache = new RSSCache();
$RSSCache->__construct( $base, $age );
$base **
-
Default: ''
$age **
-
Default: ''

RSSCache::__construct() code WP 6.5.2

function __construct( $base = '', $age = '' ) {
	$this->BASE_CACHE = WP_CONTENT_DIR . '/cache';
	if ( $base ) {
		$this->BASE_CACHE = $base;
	}
	if ( $age ) {
		$this->MAX_AGE = $age;
	}

}