Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/option.php | apply_filters | 2033 | /** * Filters the expiration for a site transient before its value is set. * * The dynamic portion of the hook name, `$transient`, refers to the transient name. * * @since 4.4.0 * * @param int $expiration Time until expiration in seconds. Use 0 for no expiration. * @param mixed $value New value of site transient. * @param string $transient Transient name. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $expiration | Time until expiration in seconds. Use 0 for no expiration. |
mixed | $value | New value of site transient. |
string | $transient | Transient name. |