Do WordPress' cron's clean up expired transients?
WordPress has a cron named delete_expired_transients
as seen in the image below.
In this way, does it clean expired transients daily?
Or is it just giving us action?
Should we clean it ourselves in this way according to the hook?
add_action('delete_expired_transients', 'my_custom_fn');
function my_custom_fn()
{
delete_expired_transients();
}
See also: delete_expired_transients()