Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/option.php | apply_filters | 2018 | /** * Filters the value of a specific site transient before it is set. * * The dynamic portion of the hook name, `$transient`, refers to the transient name. * * @since 3.0.0 * @since 4.4.0 The `$transient` parameter was added. * * @param mixed $value New value of site transient. * @param string $transient Transient name. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
mixed | $value | New value of site transient. |
string | $transient | Transient name. |