delete_expired_transients

SummerySummery

Deletes all expired transients.

Syntax

delete_expired_transients( bool $force_db = false )

DescriptionDescription

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

ParametersParameters

$force_db

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

Default value: false

SourceSource

File: wp-includes/option.php


			

ChangelogChangelog

Changelog
Version Description
4.9.0 Introduced.
Scroll to Top