pre_site_transient_{$transient}

最后更新于:2021-11-27 20:08:32

apply_filters( “pre_site_transient_{$transient}”, mixed $pre_site_transient, string $transient )

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

参数

$pre_site_transient

(mixed)
The default value to return if the site 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