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

WordPress Trac noreply at wordpress.org
Mon Jan 26 17:05:50 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:
-----------------------------+------------------------------
Changes (by solankisoftware):

 * keywords:   => has-patch


Comment:

 This patch focuses on extending delete_expired_transients() to optionally
 target expired transients matching a given prefix. I’ll update the patch
 to remove unrelated docblock changes and keep it fully scoped to this
 ticket. Feedback welcome on approach and API design.

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


More information about the wp-trac mailing list