SimplePie::set_cache_name_function()
Set callback function to create cache filename with
Method of the class: SimplePie{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SimplePie = new SimplePie(); $SimplePie->set_cache_name_function( $function );
- $function(mixed)
- Callback function
Default: 'md5'
SimplePie::set_cache_name_function() SimplePie::set cache name function code WP 6.5.2
public function set_cache_name_function($function = 'md5') { if (is_callable($function)) { $this->cache_name_function = $function; } }