Function: delete_site_transient

delete_site_transient( string $transient )

Delete a site transient.

Parameters

Name Type(s) Default Value Description
$transient string

Transient name. Expected to not be SQL-escaped.

Returns

boolean

True if successful, false otherwise

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.