[wp-trac] [WordPress Trac] #63667: Delete oEmbed postmeta if the related embed block is deleted / no longer present in the content
WordPress Trac
noreply at wordpress.org
Mon Jul 7 11:49:34 UTC 2025
#63667: Delete oEmbed postmeta if the related embed block is deleted / no longer
present in the content
--------------------------------------+------------------------------
Reporter: oglekler | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by gulamdastgir04):
**This ticket should go live as soon as possible.
**I’m working on a site that contains a large amount of unnecessary embed
data, which I need to clean up. This can be done either via a plugin or
manually using the following function:
{{{
WP_Embed::delete_oembed_caches( int $post_id )
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63667#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list