RSSCache::__construct
PHP5 constructor.
Method of the class: RSSCache{}
No Hooks.
Returns
null. Nothing (null).
Usage
$RSSCache = new RSSCache(); $RSSCache->__construct( $base, $age );
- $base
- .
Default:'' - $age
- .
Default:''
RSSCache::__construct() RSSCache:: construct code WP 7.0
function __construct( $base = '', $age = '' ) {
$this->BASE_CACHE = WP_CONTENT_DIR . '/cache';
if ( $base ) {
$this->BASE_CACHE = $base;
}
if ( $age ) {
$this->MAX_AGE = $age;
}
}