plugins – acceptable iframe alternative


Imagine this:

You’re creating a plugin that shows the php error log in real time. As the log changes, the log file gets reloaded and displayed to the user.

I can do this in JS and an iframe by having it just reload the iframe every x seconds. But I already know the wp censors will reject the plugin because of the iframe. Is there and acceptable way to do this without reloading the entire page? And it doesn’t have to be a log file. It could, for example, be the results of a query that gets updated.


uPrompt 5 months 2021-06-11T12:45:34-05:00 0 Answers 0 views 0

Leave an answer