WordPress Toolkit List WordPress instances for cPanel user
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 , 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.0 -
We recently added this argument for another use case and the documentation did not get updated. I've put in a request to have the argument added there. Thanks! 0 -
Thanks. Please close the thread to mark it solved :) 0 -
@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?0 -
@Alnaggar - currently there isn't an option for that. It sounds like a great feature request though if you'd like to submit one using the link in my signature. 0
Please sign in to leave a comment.
Comments
6 comments