SimplePie::set_cache_location()publicWP 1.0

Set the file system location where the cached files should be stored

Метод класса: SimplePie{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$SimplePie = new SimplePie();
$SimplePie->set_cache_location( $location );
$location(строка)
The file system location.
По умолчанию: './cache'

Код SimplePie::set_cache_location() WP 6.5.2

public function set_cache_location($location = './cache')
{
	$this->cache_location = (string) $location;
}