• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Retrieve WordPress Version

Matt Sanders

New Pleskian
Hi all

I'm working on a script where I would like to essentially 'duplicate' a subscription. We have a set up where we create particular subscriptions that only have one WordPress site on them. So far the script creates a new subscription and sets up hosting. What I'm wanting to do is get the current version of wordpress installed on the 'old' site so that I can install that same version on another site. Is there any way to do this via the API? I haven't been able to find the information that I need in any of the responses.
 
Hey dash

I did see that chapter, but that just gives me the list of current wordpress versions. What I'm wanting to do is find out what version of wordpress has been installed on a particular website so that I can install that same version on a new site as I want to make an exact copy of that site.
 
Thanks dash, that's alright. I've since managed to do it a different way anyway. Not quite as smooth but it works so that's fine.

Cheers
 
Back
Top