首页 WordPress函数大全 delete_expired_transients()

delete_expired_transients()

2020-05-01 / 4274阅 / 悠然

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

delete_expired_transients( bool $force_db = false )

Deletes all expired transients.

描述

The multi-table delete syntax is used to delete the transient record from table a, and the corresponding transient_timeout record from table b.

参数

$force_db

(bool)
(Optional)
Force cleanup to run against the database even when an external object cache is used.

Default value: false

大家谈论
    我的见解