WordPress at Your Fingertips
filter is not described

expiration_of_transient_(transient) filter-hook . WP 4.4.0

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

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


add_filter( 'expiration_of_transient_(transient)', 'filter_function_name_3348', 10, 3 );
function filter_function_name_3348( $expiration, $value, $transient ){
	// filter...

	return $expiration;
Time until expiration in seconds. Use 0 for no expiration.
New value of transient.
Transient name.


Since 4.4.0 Introduced.

Where the hook is called

wp-includes/option.php 919
$expiration = apply_filters( "expiration_of_transient_{$transient}", $expiration, $value, $transient );

Where in WP core the hook is used WordPress

Usage not found.