首页 WordPress函数大全 get_site_transient()

get_site_transient()

2020-05-01 / 4709阅 / 悠然

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

get_site_transient( string $transient )

Retrieves the value of a site transient.

描述

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

See also See also

  • get_transient()

Top ↑

参数

$transient

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

返回

(mixed) Value of transient.

大家谈论
    我的见解