Uses
Uses | Description |
---|---|
wp-includes/class-wp-feed-cache-transient.php: WP_Feed_Cache_Transient::__construct() | Constructor. |
Creates a new SimplePie_Cache object.
(string) (Required) URL location (scheme is used to determine handler).
(string) (Required) Unique identifier for cache object.
(string) (Required) 'spi' or 'spc'.
(WP_Feed_Cache_Transient) Feed cache handler object that uses transients.
File: wp-includes/class-wp-feed-cache.php
public function create( $location, $filename, $extension ) { return new WP_Feed_Cache_Transient( $location, $filename, $extension ); }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_feed_cache/create