| | 698 | /** |
| | 699 | * Filter the expiration for a transient before its value is set. |
| | 700 | * |
| | 701 | * The dynamic portion of the hook name, `$transient`, refers to the transient name. |
| | 702 | * |
| | 703 | * @since 4.4.0 |
| | 704 | * |
| | 705 | * @param mixed $value New value of transient. |
| | 706 | * @param int $expiration Time until expiration in seconds. |
| | 707 | * @param string $transient Transient name. |
| | 708 | */ |
| | 709 | $expiration = apply_filters( 'expiration_pre_set_transient_' . $transient, $expiration, $value, $transient ); |
| | 710 | |
| | 1497 | /** |
| | 1498 | * Filter the expiration for a transient before its value is set. |
| | 1499 | * |
| | 1500 | * The dynamic portion of the hook name, `$transient`, refers to the transient name. |
| | 1501 | * |
| | 1502 | * @since 4.4.0 |
| | 1503 | * |
| | 1504 | * @param mixed $value New value of transient. |
| | 1505 | * @param int $expiration Time until expiration in seconds. |
| | 1506 | * @param string $transient Transient name. |
| | 1507 | */ |
| | 1508 | $expiration = apply_filters( 'expiration_pre_set_transient_' . $transient, $expiration, $value, $transient ); |
| | 1509 | |