get plugins version from outside a WP instance
-
Hello,
I’m hosting lots of wordpress with different versions and of course, tons of plugins / themes (lots of different version too).
We’re trying to implement scripts to get all WP versions and plugins / themes versions in order to detect the ones that are not up-to-dated.
I already tried the excellent wpsan tool (https://github.com/wpscanteam), but unfortunately, it only work with an url and not within the system (with a internal path as param) and that’s just not possible with all the WP we have.
I already built a script to have all the WP versions and another one to have all the plugins versions and they work nice and quick.
Now, I would like to know the last version of each plugin we are using to be able to compare with the one we have. I checked the plugin API but couldn’t make it work.
All my attemps gave me the answer:
O:8:"stdClass":1:{s:5:"error";s:22:"Action not implemented";}
As far as I understand, we have to use it from inside a WP.
Does anyone know if it possible to call the API from an external script (outside a WP instance).
I using Python, but if it’s only possible with PHP, I can manage that.My search on the net returned nothing.
Maybe someone knows where I can find an example on how to do it.Thanks
- The topic ‘get plugins version from outside a WP instance’ is closed to new replies.