Install WordPress plugin from a cPanel Plugin

Operating System & Version
centos 7
cPanel & WHM Version
104.0.10

legolas42

Registered
Sep 13, 2022
2
0
1
Canada
cPanel Access Level
Root Administrator
Hello,

I am trying to install a WordPress plugin on current and future WordPress installations from my cPanel plugin. Is this possible with Wordpress Toolkit without having root access? If not, is there another way to accomplish this?

Any guidance would be much appreciated,
Thank you
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,638
1,847
363
cPanel Access Level
Root Administrator
I heard back from the team and there is not a way to automatically install plugins at the time the WordPress installation is created. This is something they are looking into, but I don't have any details or timeframe on if or when that may happen.
 

legolas42

Registered
Sep 13, 2022
2
0
1
Canada
cPanel Access Level
Root Administrator
I heard back from the team and there is not a way to automatically install plugins at the time the WordPress installation is created. This is something they are looking into, but I don't have any details or timeframe on if or when that may happen.
Thank you for the quick response!

If that's the case, would it be possible to install a Wordpress plugin onto an existing WordPress site from a cPanel plugin? For instance, WordPress Toolkit has the ability to add a custom plugin: wp-toolkit --plugins -operation add. Could something like this be done through an API to add and install a plugin onto a Wordpress site?

Thanks again for taking the time to review my questions.