Title: transient_{$transient}
Published: April 25, 2014
Last modified: August 20, 2026

---

# apply_filters( “transient_{$transient}”, mixed $value, string $transient )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#changelog)

Filters an existing transient’s value.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#description)󠁿

The dynamic portion of the hook name, `$transient`, refers to the transient name.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#parameters)󠁿

 `$value`mixed

Value of transient.

`$transient`string

Transient name.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#source)󠁿

    ```php
    return apply_filters( "transient_{$transient}", $value, $transient );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/option.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/option.php#L1491)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/option.php#L1491-L1491)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#related)󠁿

| Used by | Description | 
| [get_transient()](https://developer.wordpress.org/reference/functions/get_transient/)`wp-includes/option.php` |

Retrieves the value of a transient.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/transient_transient/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.4.0](https://developer.wordpress.org/reference/since/4.4.0/) | The `$transient` parameter was added | 
| [2.8.0](https://developer.wordpress.org/reference/since/2.8.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Ftransient_transient%2F)
before being able to contribute a note or feedback.