wpseo_schema_aggregator_cache_ttl │ хук-фильтр │ Yoast 1.0

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

add_filter( 'wpseo_schema_aggregator_cache_ttl', 'wp_kama_wpseo_schema_aggregator_cache_ttl_filter' );

/**
 * Function for `wpseo_schema_aggregator_cache_ttl` filter-hook.
 * 
 * @param  $cache_ttl 
 *
 * @return 
 */
function wp_kama_wpseo_schema_aggregator_cache_ttl_filter( $cache_ttl ){
	// filter...
	return $cache_ttl;
}
$cache_ttl
-

Где вызывается хук

Config::get_expiration()
wpseo_schema_aggregator_cache_ttl
yoast/src/schema-aggregator/infrastructure/config.php 102
$cache_ttl = \apply_filters( 'wpseo_schema_aggregator_cache_ttl', $cache_ttl );

Где используется хук в Yoast SEO

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