Filters the value of an existing transient before it is retrieved.
The dynamic portion of the hook name, $transient, refers to the transient name.
Returning a value other than false from the filter will short-circuit retrieval and return that value instead.
$pre_transientmixed
$transientstring
$pre = apply_filters( "pre_transient_{$transient}", false, $transient );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_transient_transient