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

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


Description

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


Top ↑

Parameters

$expiration int
Time until expiration in seconds. Use 0 for no expiration.
$value mixed
New value of transient.
$transient string
Transient name.

Top ↑

Source

File: wp-includes/option.php. View all references

$expiration = apply_filters( "expiration_of_transient_{$transient}", $expiration, $value, $transient );


Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.