pre_transient_{$transient}

最后更新于:2021-11-27 20:18:19

apply_filters( “pre_transient_{$transient}”, mixed $pre_transient, string $transient )

Filters the value of an existing transient before it is retrieved.

参数

$pre_transient

(mixed)
The default value to return if the transient does not exist. Any value other than false will short-circuit the retrieval of the transient, and return that value.

$transient

(string)
Transient name.

源文件

文件: gc-includes/option.php

View on Trac