Plugin to show all accounts with WordPress installed

leon.shelhamer

Registered
Jul 22, 2019
3
0
1
United States
cPanel Access Level
Root Administrator
I have followed the docs to create a WHM plugin with a UI.

I am attempting to make an AJAX call that will access a PHP script I write to garb all cpanel users, then check their directories for a WordPress installation.

I have spent several hours trying to figure out how to grab a list of accounts in PHP. I believe using the WHM API is incorrect as this is not outside of WHM. CPANEL() does not work because it is for the root user.

Any help pointing me in the right direction would be greatly appreciated.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
6,762
535
263
Houston
cPanel Access Level
DataCenter Provider