Filters the value of a specific site transient before it is set.
Description
The dynamic portion of the hook name, $transient
, refers to the transient name.
Parameters
$value
mixed- New value of site transient.
$transient
string- Transient name.
Source
$value = apply_filters( "pre_set_site_transient_{$transient}", $value, $transient );
User Contributed Notes
You must log in before being able to contribute a note or feedback.