You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Equalize Digital oEmbed Cleaner is a lightweight WordPress plugin that automatically removes invalid oEmbed cache entries when posts transition from **scheduled** to **published**. This ensures that broken or outdated embed previews do not persist on your site.
14
+
15
+
## Features
16
+
17
+
- Cleans up `_oembed_*` post meta with `{{unknown}}` values.
18
+
- Runs automatically when a scheduled post gets published.
19
+
- Helps prevent outdated or broken oEmbed caches.
20
+
- Simple, efficient, and does not add overhead to your site.
21
+
22
+
## Installation
23
+
24
+
1. Download the plugin ZIP or clone the repository.
25
+
2. Upload the extracted folder to `/wp-content/plugins/equalize-digital-oembed-cleaner/`.
26
+
3. Activate the plugin via **Plugins > Installed Plugins** in your WordPress dashboard.
27
+
28
+
## How It Works
29
+
30
+
The plugin hooks into WordPress’s `transition_post_status` action and:
31
+
32
+
- Detects when a post status changes from **scheduled** (`future`) to **published**.
33
+
- Removes `_oembed_*` cache entries with `{{unknown}}` values in the postmeta table.
0 commit comments