[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Feed API: WP_Feed_Cache class 4 * 5 * @package WordPress 6 * @subpackage Feed 7 * @since 4.7.0 8 */ 9 10 /** 11 * Core class used to implement a feed cache. 12 * 13 * @since 2.8.0 14 * 15 * @see SimplePie_Cache 16 */ 17 class WP_Feed_Cache extends SimplePie_Cache { 18 19 /** 20 * Creates a new SimplePie_Cache object. 21 * 22 * @since 2.8.0 23 * 24 * @param string $location URL location (scheme is used to determine handler). 25 * @param string $filename Unique identifier for cache object. 26 * @param string $extension 'spi' or 'spc'. 27 * @return WP_Feed_Cache_Transient Feed cache handler object that uses transients. 28 */ 29 public function create( $location, $filename, $extension ) { 30 return new WP_Feed_Cache_Transient( $location, $filename, $extension ); 31 } 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sat Nov 23 20:47:33 2019 | Cross-referenced by PHPXref 0.7 |