RSSCache::__construct()
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() RSSCache:: construct code WP 6.6.2
function __construct( $base = '', $age = '' ) { $this->BASE_CACHE = WP_CONTENT_DIR . '/cache'; if ( $base ) { $this->BASE_CACHE = $base; } if ( $age ) { $this->MAX_AGE = $age; } }