On this page
apply_filters( "pre_set_site_transient_{$transient}", mixed $value, string $transient )
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
$valuemixed-
New value of site transient.
$transientstring-
Transient name.
Source
File: wp-includes/option.php. View all references
$value = apply_filters( "pre_set_site_transient_{$transient}", $value, $transient );
Related
Used By
| Used By | Description |
|---|---|
| set_site_transient() wp-includes/option.php | Sets/updates the value of a site transient. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_set_site_transient_transient