Used By
Used By | Description |
---|---|
wp-includes/rss.php: RSSCache::RSSCache() | PHP4 constructor. |
wp-includes/rss.php: fetch_rss() | Build Magpie object based on RSS from URL. |
PHP5 constructor.
File: wp-includes/rss.php
function __construct( $base = '', $age = '' ) { $this->BASE_CACHE = WP_CONTENT_DIR . '/cache'; if ( $base ) { $this->BASE_CACHE = $base; } if ( $age ) { $this->MAX_AGE = $age; } }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/rsscache/__construct