SOLVED WordPress Toolkit List WordPress instances for cPanel user

muneeb852

Member
May 25, 2021
9
2
3
Pakistan
cPanel Access Level
Root Administrator
wp-toolkit how to get the cPanel's user WordPress instances list ? Suppose I have a user account called user123 in cPanel.
How can I get list of his WordPress installations from command line with wp-toolkit ?
We see that when we visit WordPress Toolkit GUI from cPanel, we can see list of installations for that user but how do I get them from CLI ?
 

muneeb852

Member
May 25, 2021
9
2
3
Pakistan
cPanel Access Level
Root Administrator
@muneeb852 ,

The CLI command wp-toolkit --list -owner true will get you a list of all WordPress sites (recognized by WordPress Toolkit) with an "owner" column that includes the cPanel username.

Thanks, I understand it.
However, there was nothing mentioned about -owner true in documentation of WordPress Toolkit CLI
Does staff have special docs or you use the same as for public ?
 

Alnaggar

Member
May 25, 2021
7
1
3
Riyadh
cPanel Access Level
Root Administrator
@muneeb852 ,

The CLI command wp-toolkit --list -owner true will get you a list of all WordPress sites (recognized by WordPress Toolkit) with an "owner" column that includes the cPanel username.
Hello, I have a custom script that clone pre designed WordPress for new user account automatically. And I have to press "Scan" in WordPress toolkit for it to show in sites list. What's the command line to scan WordPress installation from the command line?