[ Index ] |
PHP Cross Reference of WordPress |
[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 * @deprecated 5.6.0 9 */ 10 11 _deprecated_file( 12 basename( __FILE__ ), 13 '5.6.0', 14 '', 15 __( 'This file is only loaded for backward compatibility with SimplePie 1.2.x. Please consider switching to a recent SimplePie version.' ) 16 ); 17 18 /** 19 * Core class used to implement a feed cache. 20 * 21 * @since 2.8.0 22 * 23 * @see SimplePie_Cache 24 */ 25 class WP_Feed_Cache extends SimplePie_Cache { 26 27 /** 28 * Creates a new SimplePie_Cache object. 29 * 30 * @since 2.8.0 31 * 32 * @param string $location URL location (scheme is used to determine handler). 33 * @param string $filename Unique identifier for cache object. 34 * @param string $extension 'spi' or 'spc'. 35 * @return WP_Feed_Cache_Transient Feed cache handler object that uses transients. 36 */ 37 public function create( $location, $filename, $extension ) { 38 return new WP_Feed_Cache_Transient( $location, $filename, $extension ); 39 } 40 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |