Transients: Clarify the expiration_of_site_transient_$transient
filter description.
See #21330. git-svn-id: https://develop.svn.wordpress.org/trunk@34878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4099310ff5
commit
b86e47d915
@ -1603,7 +1603,7 @@ function set_site_transient( $transient, $value, $expiration = 0 ) {
|
|||||||
$expiration = (int) $expiration;
|
$expiration = (int) $expiration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the expiration for a transient before its value is set.
|
* Filter the expiration for a site transient before its value is set.
|
||||||
*
|
*
|
||||||
* The dynamic portion of the hook name, `$transient`, refers to the transient name.
|
* The dynamic portion of the hook name, `$transient`, refers to the transient name.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user