-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a positional argument to get primary site in multisite #87
Comments
@Sidsector9 @BhargavBhandari90 I think $ wp user meta get 1 primary_blog
1 If it's not, can you share a bit more detail about what you're trying to accomplish? |
@danielbachhuber Yes, we can have it by the command you mentioned. @Sidsector9 do you have any input here? |
Agreeing with both. Closing in favour of Daniel's suggestion. |
Added some docs for it with #365 |
As of now we don't have any means to get the primary site using WP-CLI
We can have a command as
wp site list --primary
to get the name and ID of the primary site that is set at Dashboard > My SitesThe text was updated successfully, but these errors were encountered: