delete_expired_transients ( $force_db = false )

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


Deletes all expired transients.Note that this function won't do anything if an external object cache is in use. The multi-table delete syntax is used to delete the transient record from table a, and the corresponding transient_timeout record from table b.

Related Functions

delete_site_transient, delete_transient, set_site_transient, get_site_transient, set_transient

Top Google Results

User discussions

wpseek mobile