• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved XML-API <wp-instance> seems absent in Onyx?

Steve Pheriche

New Pleskian
Hi,
in Plesk Onyx the much needed Wordpress endpoint seems to be gone.
Reference

in Plesk 12.5 we had this
Managing WordPress Installations

Is there now a different way to access WP and the WP toolkit features via the API in Onyx?
I'm aware of the alternative method (the provisioning plugin), but it doesn't offer me the methods I need such as
<install-plugin> or <install-theme>, etc.

If anyone has a good strategy to install WP with a specific theme and plugins via an API call on Onyx I would be grateful
 
BTW - I've no idea why there is a LMGTFY badge on my account for this question.
I searched the forum and the only result is another user having the same issue and no solution. This feature seems removed with no replacement.

Question - XML API error
 
OK, so for anyone requiring a workaround to this issue: I used WP-CLI which is available to us via the wordpress toolkit, so there's no need to install it again.
As the manual explains WordPress Toolkit in Plesk

So to get a siteurl for example is:
plesk ext wp-toolkit --wp-cli -instance-id [INT] -- option get siteurl
WP-CLI is very fully featured so that everything I needed to do is available via that interface
Commands | WordPress Developer Resources
 
Last edited:
Back
Top