WPSEO_Sitemaps_Cache::is_enabled() public Yoast 3.2
If cache is enabled.
{} Это метод класса: WPSEO_Sitemaps_Cache{}
Хуки из метода
Возвращает
true/false.
Использование
$WPSEO_Sitemaps_Cache = new WPSEO_Sitemaps_Cache(); $WPSEO_Sitemaps_Cache->is_enabled();
Список изменений
С версии 3.2 | Введена. |
Код WPSEO_Sitemaps_Cache::is_enabled() WPSEO Sitemaps Cache::is enabled Yoast 15.9.1
public function is_enabled() {
/**
* Filter if XML sitemap transient cache is enabled.
*
* @param bool $unsigned Enable cache or not, defaults to true.
*/
return apply_filters( 'wpseo_enable_xml_sitemap_transient_caching', false );
}