Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/option.php | apply_filters | 958 | /** * Filters the expiration for a 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 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 transient. |
string | $transient | Transient name. |