api – How to write a plugin that “listens” every time, an edit occurs?
Question
Let’s say I want to write a plugin that replaces (i.e.: overwrites) every src
-tag of every iframe-element on a WP-Website with a custom string AND the plugin shall watch every new post or page-edit whenever a new iframe is inserted, how would I go about it? Is there something like an event-api for WP every time an edit visible on the frontend occurs?
0
3 weeks
2023-01-14T20:12:09-05:00
2023-01-14T20:12:09-05:00 0 Answers
0 views
0
Leave an answer