mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Add a changelog entry to the pre_set_transient_$transient hook doc for the $transient parameter, added in [33738].
See #28402. git-svn-id: https://develop.svn.wordpress.org/trunk@33784 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -686,7 +686,8 @@ function set_transient( $transient, $value, $expiration = 0 ) {
|
||||
* The dynamic portion of the hook name, `$transient`, refers to the transient name.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @since 4.2.0 Added `$expiration` parameter.
|
||||
* @since 4.2.0 The `$expiration` parameter was added.
|
||||
* @since 4.4.0 The `$transient` parameter was added.
|
||||
*
|
||||
* @param mixed $value New value of transient.
|
||||
* @param int $expiration Time until expiration in seconds.
|
||||
|
||||
Reference in New Issue
Block a user