apply_filters( "expiration_of_site_transient_{$transient}", int $expiration, mixed $value, string $transient )

Filters the expiration for a site transient before its value is set.


Description

The dynamic portion of the hook name, $transient, refers to the transient name.


Parameters

$expiration

Time until expiration in seconds. Use 0 for no expiration.

$value

New value of site transient.

$transient

Transient name.


Source

File: wp-includes/option.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.