[wp-trac] [WordPress Trac] #64553: Add parameter to delete_expired_transients() for custom transients

WordPress Trac noreply at wordpress.org
Tue Jan 27 13:21:59 UTC 2026


#64553: Add parameter to delete_expired_transients() for custom transients
-----------------------------+------------------------------
 Reporter:  Guido07111975    |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:  6.9
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by soyebsalar01):

 Tested this: delete expired_transients currently remove all expired
 transients. There is no way to scope cleanup to plugin's own transients,
 which makes targeted cleanup difficult. A scoped parameter would address
 this well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64553#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list