首页 WordPress函数大全 get_transient()

get_transient()

2020-05-02 / 3993阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_transient( string $transient )

Retrieves the value of a transient.

描述

If the transient does not exist, does not have a value, or has expired, then the return value will be false.

参数

$transient

(string)
(Required)
Transient name. Expected to not be SQL-escaped.

返回

(mixed) Value of transient.

大家谈论
    我的见解