Docs: Add a changelog entry to the `pre_transient_$transient` hook doc for the `$transient` parameter, introduced in [33738].
See #28402. git-svn-id: https://develop.svn.wordpress.org/trunk@33782 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
958c835f9a
commit
8336c88273
|
@ -614,6 +614,7 @@ function get_transient( $transient ) {
|
|||
* of the transient, returning the passed value instead.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 4.4.0 The `$transient` parameter was added
|
||||
*
|
||||
* @param mixed $pre_transient The default value to return if the transient does not exist.
|
||||
* Any value other than false will short-circuit the retrieval
|
||||
|
|
Loading…
Reference in New Issue