Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.
MainWP includes WP-CLI integration for managing your MainWP Dashboard, configuring MainWP Child connection authentication, and restoring built-in backups on a Child Site from the command line. This enables automation, scripting, and advanced management workflows.
What You’ll Learn
Available WP-CLI commands for site management
How to sync, update, and manage sites via command line
How to configure MainWP Child password authentication for a WordPress user
How to restore a built-in backup on a Child Site from the command line
Example automation scripts
Prerequisites
MainWP Dashboard v4.1.3 or later
WP-CLI installed on your MainWP Dashboard server for wp mainwp commands
WP-CLI available on the server hosting the child site for wp mainwp-child commands
MainWP Child activated on the child site
Child sites connected to your MainWP Dashboard for Dashboard-side management commands
WP-CLI lists every option for a command, including the ones that take a value such as --site-url, --type, --slug, --ver and --ssl_verify, with a short description and examples:
wp help mainwp siteswp help mainwp sitewp help mainwp updates
Running wp mainwp sites with no option prints a table of all child sites. The older --list and --count options still print the same table, but they are no longer listed in the help.
Sites
Site
Updates
MainWP Child
Sites Management
Commands for managing multiple child sites simultaneously.
List All Sites
wp mainwp sites --all-sites
Displays every child site in your MainWP installation.
Count All Sites
wp mainwp sites --all-sites-count
Returns the total number of child sites.
Connected Sites
wp mainwp sites --connected-sites
Lists only child sites with active connections.
Connected Sites Count
wp mainwp sites --connected-sites-count
Returns count of actively connected child sites.
Disconnected Sites
wp mainwp sites --disconnected-sites
Lists child sites that are currently disconnected.
Disconnected Sites Count
wp mainwp sites --disconnected-sites-count
Returns count of disconnected child sites.
Sync All Sites
wp mainwp sites --sync-sites
Synchronizes data across all child sites.
Check All Sites
wp mainwp sites --check-sites
Verifies the status of all child sites.
Disconnect Sites
wp mainwp sites --disconnect-sites 2,5
Disconnects the child sites with the given comma-separated IDs.If a site cannot be disconnected, the command prints a warning for that site and moves on to the next one. If any site failed, the command ends with Disconnect completed with errors and a non-zero exit code, so scripts can detect the failure.
Without site IDs, --disconnect-sites disconnects all of your child sites.
Single Site Operations
Commands for managing individual child sites. Replace <id> with the site ID.Every wp mainwp site command except --add-site needs a site ID. Without one, the command stops with Empty site id.
Site Information
wp mainwp site --site <id>
Retrieves comprehensive data for a specific child site.
wp mainwp site --site-info <id>
Returns: site name, URL, WordPress version, PHP version, MainWP Child plugin version, PHP memory limit, MySQL version, active theme, and server IP address.
Plugins
wp mainwp site --site-installed-plugins <id>wp mainwp site --site-installed-plugins-count <id>wp mainwp site --site-active-plugins <id>wp mainwp site --site-active-plugins-count <id>wp mainwp site --site-inactive-plugins <id>wp mainwp site --site-inactive-plugins-count <id>wp mainwp site --site-abandoned-plugins <id>wp mainwp site --site-abandoned-plugins-count <id>
Themes
wp mainwp site --site-installed-themes <id>wp mainwp site --site-installed-themes-count <id>wp mainwp site --site-active-themes <id>wp mainwp site --site-inactive-themes <id>wp mainwp site --site-inactive-themes-count <id>wp mainwp site --site-abandoned-themes <id>wp mainwp site --site-abandoned-themes-count <id>
Updates & Status
wp mainwp site --site-available-updates <id>wp mainwp site --site-available-updates-count <id>wp mainwp site --site-http-status <id>wp mainwp site --site-health-score <id>wp mainwp site --site-security-issues <id>
Site Management
Add a new site:Use the administrator password when the Child Site requires Password Authentication:
wp mainwp site --add-site --site-url=https://site.com --name=sitename --admin=adminuser --adminpassword='YOUR_ADMIN_PASSWORD'
MainWP Dashboard 6.4 and later accepts --adminpassword=<password>. The flag must include a value. Password connections require HTTPS with certificate verification by default. Resolve certificate errors on the Child Site before retrying.If the Child Site requires a Unique Security ID, supply --uniqueid:
wp mainwp site --add-site --site-url=https://site.com --name=sitename --admin=adminuser --uniqueid=YOUR_SECURITY_ID
Supply both --adminpassword and --uniqueid when MainWP Child requires both methods. Avoid leaving connection credentials in shared scripts or shell history.Sync, reconnect, disconnect, or remove:
wp mainwp site --sync-site <id>wp mainwp site --reconnect-site <id>wp mainwp site --disconnect-site <id>wp mainwp site --remove-site <id>
Apply Updates
wp mainwp site --site-update-wordpress <id>wp mainwp site --site-update-plugins <id>wp mainwp site --site-update-themes <id>wp mainwp site --site-update-translations <id>
Update a specific item:
wp mainwp site --site-update-item <id> --type=<plugin|theme> --slug=<slug>
Plugin & Theme Control
Manage plugins:
wp mainwp site --site-manage-plugin <id> --action=<activate|deactivate|delete> --plugin=<plugin-slug>
Manage themes:
wp mainwp site --site-manage-theme <id> --action=<activate|deactivate|delete> --theme=<theme-slug>
Check HTTP Status
wp mainwp site --check-site-http-status <id>
Verifies HTTP status of a child site.
Updates Management
Commands for controlling plugin and theme updates across sites.
Lists ignored updates for a specific child site.--site-ignored-plugins-updates, --site-ignored-themes-updates, --ignore-update and --unignore-update need a site ID. Without one, the command stops with Empty site id.
Plugin file, such as akismet/akismet.php, or theme folder name (required)
--ver
Version to unignore. Leave it out to unignore all versions.
Without --ver, the command unignores all versions, which is what --ignore-updates and --ignore-update store. A specific --ver, such as --ver=5.3.1, removes only that version from the ignored list and does not undo an ignore that covers all versions.--ver needs a value. The command refuses a bare --ver, an empty value or 0, because those would otherwise unignore all versions on a site.
# Remove the global ignore for all versions of Akismetwp mainwp updates --unignore-updates --type=plugin --slug=akismet/akismet.php# Unignore version 5.3.1 of Akismet on site 3wp mainwp updates --unignore-update 3 --type=plugin --slug=akismet/akismet.php --ver=5.3.1
MainWP Child Connection Authentication
Run these commands from the child site’s WordPress installation. The settings subcommand changes whether a specific WordPress user requires password authentication during the initial MainWP connection.The settings subcommand does not display current settings. Running wp mainwp-child settings without its required option returns an invalid arguments error.
Replace <username> with an existing WordPress username.
Configure a Unique Security ID at WordPress Admin > Settings > MainWP Child > Settings before disabling password authentication. The CLI command changes only the selected user’s password-authentication setting; it does not generate a Unique Security ID.
The username is required. A final value of 1 disables password authentication, while 0 enables it. Omitting the final value defaults to disabling password authentication, so use an explicit value in scripts.
Restore a Built-In Backup
Use wp mainwp-child backup restore to restore a MainWP Built-In Backups archive when WordPress Admin or the MainWP Dashboard is unavailable. The command uses the same restore engine as the Dashboard and requires MainWP Child 6.4 or later.
The archive file name, such as backup-1718900000.zip. For an encrypted bundle, use the archive file name recorded in the bundle’s manifest.
--type
What to restore: full (default), db, or files.
--bundle
Directory containing a downloaded encrypted offsite copy: manifest.json, manifest.json.hmac, and the encrypted archive file or chunks.
--yes
Confirms a restore that overwrites the live database. Required for full and db.
The command does not create a safety backup before restoring. Make sure you have a separate backup of the current site before any restore. Back up the affected files for files, the database for db, and both for full.
Restore a Local Archive
The archive must be in the Child Site’s MainWP backup directory, a folder named backup- followed by a site-specific string under wp-content/uploads/mainwp/. If the file is missing, MainWP Child returns Archive not found in the backup directory.
The command prints each restore phase and finishes with Success: Restore completed.
Restore an Encrypted Offsite Copy
If the local copy is gone and your backups use archive encryption, download the snapshot’s files from your storage destination into a directory on the Child Site server. Provide your backup recovery passphrase in the MAINWP_BACKUP_PASSPHRASE environment variable, then pass the directory with --bundle:
MainWP Child decrypts the archive into the backup directory and then restores it. A wrong passphrase stops the restore before any site content changes.
The --passphrase=<passphrase> option also works with --bundle, but it exposes the passphrase in process lists and shell history. Use the environment variable instead.
Restore to a Different Domain
With MainWP Child 6.4.2 or later, a full or database restore keeps the destination site’s Site Address (URL) (home) and WordPress Address (URL) (siteurl). MainWP rewrites source URLs in the restored database for the destination. If WP_HOME or WP_SITEURL is defined in wp-config.php, WordPress continues to use those definitions.Record both destination URLs before you restore. They can differ, for example when WordPress is installed in a subdirectory. If a URL constant is set, also record both stored option values using the check below.If MainWP reports that it rolled back the database, it restored the previous values. If it could not confirm the destination URLs, check which correction it prints.
If it prints wp option update and the matching URL constant is set, use the corresponding wp eval correction below. Otherwise, replace the placeholder in the printed command with the option’s pre-restore stored value.
If it prints wp option delete, use that command to remove the option that was absent before the restore.
Verify both stored values and check the site’s links.
Verify Stored URLs When Constants Are Set
When WP_HOME or WP_SITEURL is set, the effective URL can look correct while the stored option still points to the source site. Run these read-only commands on the destination site before restoring to record the stored values. An empty result ([]) means the option is absent.
wp option list --search=home --format=jsonwp option list --search=siteurl --format=json
If a stored URL needs correcting after the restore, run the matching command below. It removes the relevant WordPress filter for that command only. Replace the example URL with the value you recorded for that option before the restore.
Run the two inspection commands again and check links on the restored site. These commands leave the constants in wp-config.php in effect.
If the Restore Fails
The command prints the error message and error code. If the site is left in maintenance mode, the command shows a warning. After investigating, delete the .maintenance file in the WordPress root directory to bring the site back online.
Example Workflows
Daily Sync Script
Create a script to sync all sites and check for updates:
#!/bin/bash# daily-mainwp-sync.sh# Sync all siteswp mainwp sites --sync-sites# Check for updateswp mainwp updates --available-updates# Check site statuswp mainwp sites --check-sites
Get Site Overview
# Get all connected siteswp mainwp sites --connected-sites# For each site, get available updateswp mainwp site --site-available-updates 1wp mainwp site --site-available-updates 2
Replace site IDs with your actual child site IDs. You can find site IDs by running wp mainwp sites --all-sites.
Self-Check Checklist
WP-CLI installed on the MainWP Dashboard server
MainWP Dashboard v4.1.3 or later
Test basic command: wp mainwp sites --all-sites
Site IDs identified for site-specific commands
WP-CLI available on the server hosting the child site before using wp mainwp-child
Unique Security ID configured before disabling password authentication
Separate backup covers the files or database affected by wp mainwp-child backup restore
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MainWP Documentation","colors":{"primary":"#527300","light":"#8fc31f","dark":"#8fc31f"},"logo":{"light":"https://mintcdn.com/mainwp/JFFCO2XOQ5mrbOZD/logo/mainwp-2026.png?fit=max\u0026auto=format\u0026n=JFFCO2XOQ5mrbOZD\u0026q=85\u0026s=d853e8162ea9b78247b8b823840ece0c","dark":"https://mintcdn.com/mainwp/JFFCO2XOQ5mrbOZD/logo/mainwp-2026.png?fit=max\u0026auto=format\u0026n=JFFCO2XOQ5mrbOZD\u0026q=85\u0026s=d853e8162ea9b78247b8b823840ece0c"},"favicon":"https://mintcdn.com/mainwp/smWEdIvkHk7evyHD/mainwp-favicon.svg?fit=max\u0026auto=format\u0026n=smWEdIvkHk7evyHD\u0026q=85\u0026s=acbd1fc395c39fe881254a621f1a600b","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://mainwp.com/support","label":"Support"}],"primary":{"type":"button","label":"Get MainWP","href":"https://mainwp.com/pricing"}},"footer":{"socials":{"x":"https://x.com/mymainwp","github":"https://github.com/mainwp","linkedin":"https://linkedin.com/company/mainwp","youtube":"https://www.youtube.com/mymainwp","facebook":"https://www.facebook.com/mainwp"}},"seo":{"indexing":"navigable"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"MainWP.com","icon":"globe","href":"https://mainwp.com"},{"anchor":"Support","icon":"life-ring","href":"https://mainwp.com/support"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mainwp","hasAudioNarration":false,"actualSubdomain":"mainwp","customDomains":["docs.mainwp.com"],"gitSource":{"type":"github","owner":"mainwp","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af76f23fdfd9a78271ca302","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Documentation","count":218},{"language":"default","tag":"Add-Ons","count":87},{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Troubleshooting","count":37},{"language":"default","tag":"Add-on Abilities","count":35},{"language":"default","tag":"Advanced","count":31},{"language":"default","tag":"Customization","count":27},{"language":"default","tag":"Agency","count":15},{"language":"default","tag":"REST API","count":14},{"language":"default","tag":"MCP Server","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@mainwp.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img[alt*=\"logo\"]{height:44px!important;width:auto!important}img[src*=\"/images/icons/addons\"]{max-width:64px!important;max-height:64px!important;width:auto!important;height:auto!important;object-fit:contain!important;margin:0 auto!important}[class*=\"card\"] img[src*=\"/images/icons/\"],a[href*=\"/add-ons/\"] img{max-width:64px!important;max-height:64px!important;object-fit:contain!important;display:block!important;margin:0.5rem auto!important}.prose img[src*=\"/images/icons/\"],.not-prose img[src*=\"/images/icons/\"]{max-width:64px!important;max-height:64px!important}"},{"filePath":"styles/addon-panel.css","content":"#table-of-contents{display:flex;flex-direction:column;padding-bottom:4rem}#table-of-contents:has(.addon-panel){overflow-y:scroll!important;scrollbar-width:thin;scrollbar-color:rgba(156, 163, 175, 0.5) transparent;scrollbar-gutter:stable;padding-right:0.75rem}#table-of-contents:has(.addon-panel)::-webkit-scrollbar{width:8px;background:rgba(0, 0, 0, 0.05)}#table-of-contents:has(.addon-panel)::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.05);border-radius:4px}#table-of-contents:has(.addon-panel)::-webkit-scrollbar-thumb{background:rgba(156, 163, 175, 0.5);border-radius:4px;border:2px solid transparent;background-clip:content-box}#table-of-contents:has(.addon-panel)::-webkit-scrollbar-thumb:hover{background:rgba(156, 163, 175, 0.8);background-clip:content-box}[class*=\"TableOfContents\"]{padding-bottom:4rem}aside[class*=\"sticky\"],nav[class*=\"toc\"],[class*=\"RightSidebar\"]{padding-bottom:4rem}.addon-panel{order:99;margin-top:1.5rem;margin-bottom:1.5rem;padding-top:1.5rem;border-top:1px solid #333;font-family:inherit;max-width:100%;overflow-x:hidden;overflow-y:visible;box-sizing:border-box;flex-shrink:0}.addon-panel__cta-card{background:#1a1a1a;border:1px solid #333;border-radius:12px;padding:1.25rem;margin-bottom:1.5rem}.addon-panel__cta-button{display:block;width:100%;padding:0.875rem 1rem;background:#8fc31f;color:#000!important;font-weight:600;font-size:0.9375rem;text-align:center;border-radius:8px;text-decoration:none!important;margin-bottom:0.875rem;transition:background-color 0.2s ease;letter-spacing:0.025em}.addon-panel__cta-button:hover{background:#7ab318;text-decoration:none!important}.addon-panel__bundle-note{text-align:center;font-size:0.875rem;color:#9ca3af;margin:0}.addon-panel__checkmark{color:#8fc31f}.addon-panel__tags{display:grid;grid-template-columns:1fr 1fr;gap:0.5rem;margin-bottom:1.5rem}.addon-panel__tag{text-align:center;padding:0.625rem 0.5rem;border-radius:6px;font-size:0.875rem;border:1px solid #333;background:#1a1a1a;display:flex;flex-direction:column;justify-content:center;min-height:3rem}.addon-panel__tag--outline{border-color:#8fc31f;color:#fff;font-weight:500}.addon-panel__tag--filled{background:#8fc31f;color:#000;border-color:#8fc31f;font-weight:600}.addon-panel__tag-label{font-size:0.75rem;color:#9ca3af;display:block;margin-bottom:0.125rem}.addon-panel__tag-value{font-weight:600;color:#fff;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.addon-panel__version-link{text-decoration:none!important;color:#fff!important;font-weight:600;display:inline-flex;align-items:center;justify-content:center;width:100%;transition:all 0.2s ease}.addon-panel__version-link:hover{text-decoration:underline!important;color:#8fc31f!important;cursor:pointer}.addon-panel__link-icon-small{font-size:0.75em;margin-left:2px;opacity:0.7}.addon-panel__info{display:flex;gap:0.75rem;padding:0.875rem;background:rgba(143, 195, 31, 0.1);border-radius:8px;margin-bottom:1.5rem;border-left:3px solid #8fc31f;align-items:flex-start}.addon-panel__info-icon{color:#60a5fa;flex-shrink:0;font-size:1rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;background:rgba(96, 165, 250, 0.2);border-radius:50%}.addon-panel__info-text{font-size:0.8125rem;color:#8fc31f;line-height:1.5}.addon-panel__info--privacy{flex-direction:column;padding:1rem}.addon-panel__info-content{display:flex;flex-direction:column;gap:0.625rem;width:100%}.addon-panel__info-item{display:flex;align-items:center;gap:0.5rem}.addon-panel__info-item-icon{flex-shrink:0;font-size:1rem}.addon-panel__info-item-text{font-size:0.875rem;color:#8fc31f}.addon-panel__info-item-link{font-size:0.875rem;color:#8fc31f!important;text-decoration:none!important;transition:opacity 0.2s ease}.addon-panel__info-item-link:hover{text-decoration:underline!important;opacity:0.8}.addon-panel__section-header{font-size:1rem;font-weight:600;color:#fff;margin:0 0 0.75rem 0;padding-top:1rem}.addon-panel__section-header:first-of-type{padding-top:0}.addon-panel__links{display:flex;flex-direction:column;gap:0.625rem}.addon-panel__link{display:flex;align-items:center;gap:0.5rem;color:#8fc31f!important;font-size:0.875rem;text-decoration:none!important;transition:opacity 0.2s ease}.addon-panel__link:hover{opacity:0.8;text-decoration:underline!important}.addon-panel__link-icon{font-size:1rem}.addon-panel__additional-text{font-size:0.875rem;color:#9ca3af;line-height:1.5;margin:0}.addon-panel__privacy-item{display:flex;flex-direction:column;gap:0.25rem;margin-bottom:0.75rem}.addon-panel__privacy-label{font-size:0.8125rem;color:#fff;font-weight:500}.addon-panel__privacy-value{font-size:0.875rem;color:#9ca3af}.addon-panel__privacy-link{font-size:0.875rem;color:#8fc31f!important;text-decoration:none!important}.addon-panel__privacy-link:hover{text-decoration:underline!important}.addon-panel__cta-button:focus-visible,.addon-panel__version-link:focus-visible,.addon-panel__link:focus-visible,.addon-panel__info-item-link:focus-visible,.addon-panel__privacy-link:focus-visible{outline:2px solid #8fc31f;outline-offset:2px;border-radius:4px}.addon-panel__cta-button:focus-visible{outline-offset:3px}@media (prefers-color-scheme: light){.light .addon-panel__cta-card,.light .addon-panel__tag{background:#f3f4f6;border-color:#e5e7eb}.light .addon-panel__tag-value,.light .addon-panel__section-header,.light .addon-panel__privacy-label{color:#111827}.light .addon-panel__tag--outline{color:#111827}}.light .addon-panel__cta-card,.light .addon-panel__tag{background:#f3f4f6;border-color:#e5e7eb}.light .addon-panel__tag-value,.light .addon-panel__section-header,.light .addon-panel__privacy-label{color:#111827}.light .addon-panel__tag--outline{color:#111827}.light .addon-panel__info{background:rgba(143, 195, 31, 0.15)}.light .addon-panel__version-link{color:#111827!important}.light .addon-panel__info-item-text{color:#166534}.light .addon-panel__tag-label,.light .addon-panel__bundle-note,.light .addon-panel__additional-text,.light .addon-panel__privacy-value{color:#4b5563}.light .addon-panel__info-text,.light .addon-panel__checkmark{color:#166534}.light .addon-panel__link,.light .addon-panel__info-item-link,.light .addon-panel__privacy-link{color:#166534!important}.light .addon-panel__cta-button:focus-visible,.light .addon-panel__version-link:focus-visible,.light .addon-panel__link:focus-visible,.light .addon-panel__info-item-link:focus-visible,.light .addon-panel__privacy-link:focus-visible{outline-color:#166534}"}],"page":{"pagePath":"advanced/miscellaneous/mainwp-wp-cli-commands","slug":"/advanced/miscellaneous/mainwp-wp-cli-commands","pageMetadata":{"title":"MainWP WP CLI Commands","sidebarTitle":"WP-CLI Commands","description":"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.","href":"/advanced/miscellaneous/mainwp-wp-cli-commands"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,input:`input`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`MainWP includes WP-CLI integration for managing your MainWP Dashboard, configuring MainWP Child connection authentication, and restoring built-in backups on a Child Site from the command line. This enables automation, scripting, and advanced management workflows.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you’ll-learn`,children:`What You’ll Learn`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Available WP-CLI commands for site management`}),`\n`,_jsx(_components.li,{children:`How to sync, update, and manage sites via command line`}),`\n`,_jsx(_components.li,{children:`How to configure MainWP Child password authentication for a WordPress user`}),`\n`,_jsx(_components.li,{children:`How to restore a built-in backup on a Child Site from the command line`}),`\n`,_jsx(_components.li,{children:`Example automation scripts`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`MainWP Dashboard v4.1.3 or later`}),`\n`,_jsxs(_components.li,{children:[`WP-CLI installed on your MainWP Dashboard server for `,_jsx(_components.code,{children:`wp mainwp`}),` commands`]}),`\n`,_jsxs(_components.li,{children:[`WP-CLI available on the server hosting the child site for `,_jsx(_components.code,{children:`wp mainwp-child`}),` commands`]}),`\n`,_jsx(_components.li,{children:`MainWP Child activated on the child site`}),`\n`,_jsx(_components.li,{children:`Child sites connected to your MainWP Dashboard for Dashboard-side management commands`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For more information about WP-CLI, visit the `,_jsx(_components.a,{href:`https://wp-cli.org/`,children:`official WP-CLI documentation`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`built-in-help`,children:`Built-In Help`}),`\n`,_jsxs(_components.p,{children:[`WP-CLI lists every option for a command, including the ones that take a value such as `,_jsx(_components.code,{children:`--site-url`}),`, `,_jsx(_components.code,{children:`--type`}),`, `,_jsx(_components.code,{children:`--slug`}),`, `,_jsx(_components.code,{children:`--ver`}),` and `,_jsx(_components.code,{children:`--ssl_verify`}),`, with a short description and examples:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` help`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` help`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` help`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Running `,_jsx(_components.code,{children:`wp mainwp sites`}),` with no option prints a table of all child sites. The older `,_jsx(_components.code,{children:`--list`}),` and `,_jsx(_components.code,{children:`--count`}),` options still print the same table, but they are no longer listed in the help.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Sites`,id:`sites`,\"data-child-heading-ids\":`[\"sites-management\",\"list-all-sites\",\"count-all-sites\",\"connected-sites\",\"connected-sites-count\",\"disconnected-sites\",\"disconnected-sites-count\",\"sync-all-sites\",\"check-all-sites\",\"disconnect-sites\"]`,children:[_jsx(Heading,{level:`2`,id:`sites-management`,children:`Sites Management`}),_jsx(_components.p,{children:`Commands for managing multiple child sites simultaneously.`}),_jsx(Heading,{level:`3`,id:`list-all-sites`,children:`List All Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --all-sites`})]}),`\n`]})})}),_jsx(_components.p,{children:`Displays every child site in your MainWP installation.`}),_jsx(Heading,{level:`3`,id:`count-all-sites`,children:`Count All Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --all-sites-count`})]}),`\n`]})})}),_jsx(_components.p,{children:`Returns the total number of child sites.`}),_jsx(Heading,{level:`3`,id:`connected-sites`,children:`Connected Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --connected-sites`})]}),`\n`]})})}),_jsx(_components.p,{children:`Lists only child sites with active connections.`}),_jsx(Heading,{level:`3`,id:`connected-sites-count`,children:`Connected Sites Count`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --connected-sites-count`})]}),`\n`]})})}),_jsx(_components.p,{children:`Returns count of actively connected child sites.`}),_jsx(Heading,{level:`3`,id:`disconnected-sites`,children:`Disconnected Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --disconnected-sites`})]}),`\n`]})})}),_jsx(_components.p,{children:`Lists child sites that are currently disconnected.`}),_jsx(Heading,{level:`3`,id:`disconnected-sites-count`,children:`Disconnected Sites Count`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --disconnected-sites-count`})]}),`\n`]})})}),_jsx(_components.p,{children:`Returns count of disconnected child sites.`}),_jsx(Heading,{level:`3`,id:`sync-all-sites`,children:`Sync All Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --sync-sites`})]}),`\n`]})})}),_jsx(_components.p,{children:`Synchronizes data across all child sites.`}),_jsx(Heading,{level:`3`,id:`check-all-sites`,children:`Check All Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --check-sites`})]}),`\n`]})})}),_jsx(_components.p,{children:`Verifies the status of all child sites.`}),_jsx(Heading,{level:`3`,id:`disconnect-sites`,children:`Disconnect Sites`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --disconnect-sites`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 2,5`})]}),`\n`]})})}),_jsx(_components.p,{children:`Disconnects the child sites with the given comma-separated IDs.`}),_jsxs(_components.p,{children:[`If a site cannot be disconnected, the command prints a warning for that site and moves on to the next one. If any site failed, the command ends with `,_jsx(_components.code,{children:`Disconnect completed with errors`}),` and a non-zero exit code, so scripts can detect the failure.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Without site IDs, `,_jsx(_components.code,{children:`--disconnect-sites`}),` disconnects all of your child sites.`]})})]}),_jsxs(Tab,{title:`Site`,id:`site`,\"data-child-heading-ids\":`[\"single-site-operations\",\"site-information\",\"plugins\",\"themes\",\"updates-%26-status\",\"site-management\",\"apply-updates\",\"plugin-%26-theme-control\",\"check-http-status\"]`,children:[_jsx(Heading,{level:`2`,id:`single-site-operations`,children:`Single Site Operations`}),_jsxs(_components.p,{children:[`Commands for managing individual child sites. Replace `,_jsx(_components.code,{children:`\u003cid>`}),` with the site ID.`]}),_jsxs(_components.p,{children:[`Every `,_jsx(_components.code,{children:`wp mainwp site`}),` command except `,_jsx(_components.code,{children:`--add-site`}),` needs a site ID. Without one, the command stops with `,_jsx(_components.code,{children:`Empty site id.`})]}),_jsx(Heading,{level:`3`,id:`site-information`,children:`Site Information`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`Retrieves comprehensive data for a specific child site.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-info`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`Returns: site name, URL, WordPress version, PHP version, MainWP Child plugin version, PHP memory limit, MySQL version, active theme, and server IP address.`}),_jsx(Heading,{level:`3`,id:`plugins`,children:`Plugins`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-installed-plugins`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-installed-plugins-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-active-plugins`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-active-plugins-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-inactive-plugins`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-inactive-plugins-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-abandoned-plugins`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-abandoned-plugins-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`themes`,children:`Themes`}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-installed-themes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-installed-themes-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-active-themes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-inactive-themes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-inactive-themes-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-abandoned-themes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-abandoned-themes-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`updates-\u0026-status`,children:`Updates \u0026 Status`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-available-updates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-available-updates-count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-http-status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-health-score`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-security-issues`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`site-management`,children:`Site Management`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Add a new site:`})}),_jsx(_components.p,{children:`Use the administrator password when the Child Site requires Password Authentication:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --add-site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-url=https://site.com`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name=sitename`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --admin=adminuser`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --adminpassword=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'YOUR_ADMIN_PASSWORD'`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`MainWP Dashboard 6.4 and later accepts `,_jsx(_components.code,{children:`--adminpassword=\u003cpassword>`}),`. The flag must include a value. Password connections require HTTPS with certificate verification by default. Resolve certificate errors on the Child Site before retrying.`]}),_jsxs(_components.p,{children:[`If the Child Site requires a Unique Security ID, supply `,_jsx(_components.code,{children:`--uniqueid`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --add-site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-url=https://site.com`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name=sitename`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --admin=adminuser`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --uniqueid=YOUR_SECURITY_ID`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Supply both `,_jsx(_components.code,{children:`--adminpassword`}),` and `,_jsx(_components.code,{children:`--uniqueid`}),` when MainWP Child requires both methods. Avoid leaving connection credentials in shared scripts or shell history.`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Sync, reconnect, disconnect, or remove:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --sync-site`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --reconnect-site`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --disconnect-site`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --remove-site`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`apply-updates`,children:`Apply Updates`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-update-wordpress`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-update-plugins`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-update-themes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-update-translations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Update a specific item:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-update-item`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--slug=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`plugin-\u0026-theme-control`,children:`Plugin \u0026 Theme Control`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Manage plugins:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-manage-plugin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --action=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`activate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`deactivate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`delete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--plugin=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`plugin-slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Manage themes:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-manage-theme`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --action=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`activate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`deactivate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`delete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--theme=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`theme-slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`check-http-status`,children:`Check HTTP Status`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --check-site-http-status`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`Verifies HTTP status of a child site.`})]}),_jsxs(Tab,{title:`Updates`,id:`updates`,\"data-child-heading-ids\":`[\"updates-management\",\"view-available-updates\",\"ignored-updates-global\",\"ignored-updates-per-site\",\"ignore-updates-globally\",\"ignore-updates-on-specific-site\",\"unignore-updates-globally\",\"unignore-updates-on-specific-site\",\"unignore-options\"]`,children:[_jsx(Heading,{level:`2`,id:`updates-management`,children:`Updates Management`}),_jsx(_components.p,{children:`Commands for controlling plugin and theme updates across sites.`}),_jsx(Heading,{level:`3`,id:`view-available-updates`,children:`View Available Updates`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --available-updates`})]}),`\n`]})})}),_jsx(_components.p,{children:`Shows all pending updates across all child sites.`}),_jsx(Heading,{level:`3`,id:`ignored-updates-global`,children:`Ignored Updates (Global)`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ignored-plugins-updates`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ignored-themes-updates`})]}),`\n`]})})}),_jsx(_components.p,{children:`Lists globally ignored plugin or theme updates.`}),_jsx(Heading,{level:`3`,id:`ignored-updates-per-site`,children:`Ignored Updates (Per Site)`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-ignored-plugins-updates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-ignored-themes-updates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`Lists ignored updates for a specific child site.`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--site-ignored-plugins-updates`}),`, `,_jsx(_components.code,{children:`--site-ignored-themes-updates`}),`, `,_jsx(_components.code,{children:`--ignore-update`}),` and `,_jsx(_components.code,{children:`--unignore-update`}),` need a site ID. Without one, the command stops with `,_jsx(_components.code,{children:`Empty site id.`})]}),_jsx(Heading,{level:`3`,id:`ignore-updates-globally`,children:`Ignore Updates Globally`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ignore-updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--slug=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`Globally ignores an update across all sites.`}),_jsx(Heading,{level:`3`,id:`ignore-updates-on-specific-site`,children:`Ignore Updates on Specific Site`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ignore-update`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--slug=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(_components.p,{children:`Ignores a specific update on one child site.`}),_jsx(Heading,{level:`3`,id:`unignore-updates-globally`,children:`Unignore Updates Globally`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unignore-updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--slug=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--ver=\u003cversion>]`})]}),`\n`]})})}),_jsx(_components.p,{children:`Reverses a global update ignore.`}),_jsx(Heading,{level:`3`,id:`unignore-updates-on-specific-site`,children:`Unignore Updates on Specific Site`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unignore-update`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`plugin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--slug=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`slug`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--ver=\u003cversion>]`})]}),`\n`]})})}),_jsx(_components.p,{children:`Reverses a site-specific update ignore.`}),_jsx(Heading,{level:`3`,id:`unignore-options`,children:`Unignore Options`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--type`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`plugin`}),` or `,_jsx(_components.code,{children:`theme`}),` (required)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--slug`})}),_jsxs(_components.td,{children:[`Plugin file, such as `,_jsx(_components.code,{children:`akismet/akismet.php`}),`, or theme folder name (required)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--ver`})}),_jsx(_components.td,{children:`Version to unignore. Leave it out to unignore all versions.`})]})]})]}),_jsxs(_components.p,{children:[`Without `,_jsx(_components.code,{children:`--ver`}),`, the command unignores all versions, which is what `,_jsx(_components.code,{children:`--ignore-updates`}),` and `,_jsx(_components.code,{children:`--ignore-update`}),` store. A specific `,_jsx(_components.code,{children:`--ver`}),`, such as `,_jsx(_components.code,{children:`--ver=5.3.1`}),`, removes only that version from the ignored list and does not undo an ignore that covers all versions.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--ver`}),` needs a value. The command refuses a bare `,_jsx(_components.code,{children:`--ver`}),`, an empty value or `,_jsx(_components.code,{children:`0`}),`, because those would otherwise unignore all versions on a site.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Remove the global ignore for all versions of Akismet`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unignore-updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=plugin`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --slug=akismet/akismet.php`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Unignore version 5.3.1 of Akismet on site 3`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unignore-update`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=plugin`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --slug=akismet/akismet.php`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --ver=5.3.1`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`MainWP Child`,id:`mainwp-child`,\"data-child-heading-ids\":`[\"mainwp-child-connection-authentication\",\"disable-password-authentication\",\"enable-password-authentication\",\"restore-a-built-in-backup\",\"restore-a-local-archive\",\"restore-an-encrypted-offsite-copy\",\"restore-to-a-different-domain\",\"verify-stored-urls-when-constants-are-set\",\"if-the-restore-fails\"]`,children:[_jsx(Heading,{level:`2`,id:`mainwp-child-connection-authentication`,children:`MainWP Child Connection Authentication`}),_jsxs(_components.p,{children:[`Run these commands from the child site’s WordPress installation. The `,_jsx(_components.code,{children:`settings`}),` subcommand changes whether a specific WordPress user requires password authentication during the initial MainWP connection.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`settings`}),` subcommand does not display current settings. Running `,_jsx(_components.code,{children:`wp mainwp-child settings`}),` without its required option returns an invalid arguments error.`]}),_jsx(Heading,{level:`3`,id:`disable-password-authentication`,children:`Disable Password Authentication`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp-child`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` settings`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --disable-pwd-auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`usernam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`\u003cusername>`}),` with an existing WordPress username.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Configure a `,_jsx(_components.a,{href:`/advanced/miscellaneous/mainwp-connection-security#unique-security-id`,children:`Unique Security ID`}),` at `,_jsx(_components.strong,{children:`WordPress Admin > Settings > MainWP Child > Settings`}),` before disabling password authentication. The CLI command changes only the selected user’s password-authentication setting; it does not generate a Unique Security ID.`]})}),_jsx(Heading,{level:`3`,id:`enable-password-authentication`,children:`Enable Password Authentication`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp-child`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` settings`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --disable-pwd-auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`usernam`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`})]}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The username is required. A final value of `,_jsx(_components.code,{children:`1`}),` disables password authentication, while `,_jsx(_components.code,{children:`0`}),` enables it. Omitting the final value defaults to disabling password authentication, so use an explicit value in scripts.`]})}),_jsx(Heading,{level:`2`,id:`restore-a-built-in-backup`,children:`Restore a Built-In Backup`}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`wp mainwp-child backup restore`}),` to restore a `,_jsx(_components.a,{href:`/sites/backups/manage-backups`,children:`MainWP Built-In Backups`}),` archive when WordPress Admin or the MainWP Dashboard is unavailable. The command uses the same restore engine as the Dashboard and requires MainWP Child 6.4 or later.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp-child`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` restore`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`archiv`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--type=\u003cfull`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`db`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`files`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`]`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [--bundle=\u003cdir>] [--yes]`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\u003carchive>`})}),_jsxs(_components.td,{children:[`The archive file name, such as `,_jsx(_components.code,{children:`backup-1718900000.zip`}),`. For an encrypted bundle, use the archive file name recorded in the bundle’s manifest.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--type`})}),_jsxs(_components.td,{children:[`What to restore: `,_jsx(_components.code,{children:`full`}),` (default), `,_jsx(_components.code,{children:`db`}),`, or `,_jsx(_components.code,{children:`files`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--bundle`})}),_jsxs(_components.td,{children:[`Directory containing a downloaded encrypted offsite copy: `,_jsx(_components.code,{children:`manifest.json`}),`, `,_jsx(_components.code,{children:`manifest.json.hmac`}),`, and the encrypted archive file or chunks.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--yes`})}),_jsxs(_components.td,{children:[`Confirms a restore that overwrites the live database. Required for `,_jsx(_components.code,{children:`full`}),` and `,_jsx(_components.code,{children:`db`}),`.`]})]})]})]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`The command does not create a safety backup before restoring. Make sure you have a separate backup of the current site before any restore. Back up the affected files for `,_jsx(_components.code,{children:`files`}),`, the database for `,_jsx(_components.code,{children:`db`}),`, and both for `,_jsx(_components.code,{children:`full`}),`.`]})}),_jsx(Heading,{level:`3`,id:`restore-a-local-archive`,children:`Restore a Local Archive`}),_jsxs(_components.p,{children:[`The archive must be in the Child Site’s MainWP backup directory, a folder named `,_jsx(_components.code,{children:`backup-`}),` followed by a site-specific string under `,_jsx(_components.code,{children:`wp-content/uploads/mainwp/`}),`. If the file is missing, MainWP Child returns `,_jsx(_components.code,{children:`Archive not found in the backup directory`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp-child`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` restore`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backup-1718900000.zip`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=full`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The command prints each restore phase and finishes with `,_jsx(_components.code,{children:`Success: Restore completed.`})]}),_jsx(Heading,{level:`3`,id:`restore-an-encrypted-offsite-copy`,children:`Restore an Encrypted Offsite Copy`}),_jsxs(_components.p,{children:[`If the local copy is gone and your backups use `,_jsx(_components.a,{href:`/sites/backups/manage-backups#encrypt-backup-archives`,children:`archive encryption`}),`, download the snapshot’s files from your storage destination into a directory on the Child Site server. Provide your backup recovery passphrase in the `,_jsx(_components.code,{children:`MAINWP_BACKUP_PASSPHRASE`}),` environment variable, then pass the directory with `,_jsx(_components.code,{children:`--bundle`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`IFS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` read`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` MAINWP_BACKUP_PASSPHRASE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MAINWP_BACKUP_PASSPHRASE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp-child`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backup`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` restore`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backup-1718900000.zip`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --type=db`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --bundle=/home/recover/4/37`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`unset`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` MAINWP_BACKUP_PASSPHRASE`})]}),`\n`]})})}),_jsx(_components.p,{children:`MainWP Child decrypts the archive into the backup directory and then restores it. A wrong passphrase stops the restore before any site content changes.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`--passphrase=\u003cpassphrase>`}),` option also works with `,_jsx(_components.code,{children:`--bundle`}),`, but it exposes the passphrase in process lists and shell history. Use the environment variable instead.`]})}),_jsx(Heading,{level:`3`,id:`restore-to-a-different-domain`,children:`Restore to a Different Domain`}),_jsxs(_components.p,{children:[`With MainWP Child 6.4.2 or later, a full or database restore keeps the destination site’s `,_jsx(_components.strong,{children:`Site Address (URL)`}),` (`,_jsx(_components.code,{children:`home`}),`) and `,_jsx(_components.strong,{children:`WordPress Address (URL)`}),` (`,_jsx(_components.code,{children:`siteurl`}),`). MainWP rewrites source URLs in the restored database for the destination. If `,_jsx(_components.code,{children:`WP_HOME`}),` or `,_jsx(_components.code,{children:`WP_SITEURL`}),` is defined in `,_jsx(_components.code,{children:`wp-config.php`}),`, WordPress continues to use those definitions.`]}),_jsx(_components.p,{children:`Record both destination URLs before you restore. They can differ, for example when WordPress is installed in a subdirectory. If a URL constant is set, also record both stored option values using the check below.`}),_jsx(_components.p,{children:`If MainWP reports that it rolled back the database, it restored the previous values. If it could not confirm the destination URLs, check which correction it prints.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If it prints `,_jsx(_components.code,{children:`wp option update`}),` and the matching URL constant is set, use the corresponding `,_jsx(_components.code,{children:`wp eval`}),` correction below. Otherwise, replace the placeholder in the printed command with the option’s pre-restore stored value.`]}),`\n`,_jsxs(_components.li,{children:[`If it prints `,_jsx(_components.code,{children:`wp option delete`}),`, use that command to remove the option that was absent before the restore.`]}),`\n`]}),_jsx(_components.p,{children:`Verify both stored values and check the site’s links.`}),_jsx(Heading,{level:`4`,id:`verify-stored-urls-when-constants-are-set`,children:`Verify Stored URLs When Constants Are Set`}),_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`WP_HOME`}),` or `,_jsx(_components.code,{children:`WP_SITEURL`}),` is set, the effective URL can look correct while the stored option still points to the source site. Run these read-only commands on the destination site before restoring to record the stored values. An empty result (`,_jsx(_components.code,{children:`[]`}),`) means the option is absent.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` option`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --search=home`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format=json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` option`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --search=siteurl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --format=json`})]}),`\n`]})})}),_jsx(_components.p,{children:`If a stored URL needs correcting after the restore, run the matching command below. It removes the relevant WordPress filter for that command only. Replace the example URL with the value you recorded for that option before the restore.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` eval`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'remove_filter( \"option_home\", \"_config_wp_home\" ); update_option( \"home\", \"https://destination.example\" );'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` eval`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'remove_filter( \"option_siteurl\", \"_config_wp_siteurl\" ); update_option( \"siteurl\", \"https://destination.example/wordpress\" );'`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Run the two inspection commands again and check links on the restored site. These commands leave the constants in `,_jsx(_components.code,{children:`wp-config.php`}),` in effect.`]}),_jsx(Heading,{level:`3`,id:`if-the-restore-fails`,children:`If the Restore Fails`}),_jsxs(_components.p,{children:[`The command prints the error message and error code. If the site is left in maintenance mode, the command shows a warning. After investigating, delete the `,_jsx(_components.code,{children:`.maintenance`}),` file in the WordPress root directory to bring the site back online.`]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`example-workflows`,children:`Example Workflows`}),`\n`,_jsx(Heading,{level:`3`,id:`daily-sync-script`,children:`Daily Sync Script`}),`\n`,_jsx(_components.p,{children:`Create a script to sync all sites and check for updates:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`#!/bin/bash`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# daily-mainwp-sync.sh`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Sync all sites`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --sync-sites`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check for updates`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --available-updates`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check site status`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --check-sites`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`get-site-overview`,children:`Get Site Overview`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Get all connected sites`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sites`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --connected-sites`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# For each site, get available updates`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-available-updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`wp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mainwp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` site`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --site-available-updates`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Replace site IDs with your actual child site IDs. You can find site IDs by running `,_jsx(_components.code,{children:`wp mainwp sites --all-sites`}),`.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`self-check-checklist`,children:`Self-Check Checklist`}),`\n`,_jsxs(_components.ul,{className:`contains-task-list`,children:[`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`WP-CLI installed on the MainWP Dashboard server`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`MainWP Dashboard v4.1.3 or later`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Test basic command: `,_jsx(_components.code,{children:`wp mainwp sites --all-sites`})]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Site IDs identified for site-specific commands`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`WP-CLI available on the server hosting the child site before using `,_jsx(_components.code,{children:`wp mainwp-child`})]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Unique Security ID configured before disabling password authentication`]}),`\n`,_jsxs(_components.li,{className:`task-list-item`,children:[_jsx(_components.input,{type:`checkbox`,disabled:true}),` `,`Separate backup covers the files or database affected by `,_jsx(_components.code,{children:`wp mainwp-child backup restore`})]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related Resources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/advanced/integrations/automate-your-mainwp-workflow-with-suretriggers`,children:`SureTriggers Automation`}),` - Visual workflow automation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/rest-api/overview`,children:`REST API Overview`}),` - API-based automation`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"MainWP WP CLI Commands","sidebarTitle":"WP-CLI Commands","description":"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.","href":"/advanced/miscellaneous/mainwp-wp-cli-commands"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What You’ll Learn","slug":"what-you’ll-learn","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Built-In Help","slug":"built-in-help","depth":2,"children":[]},{"title":"Sites Management","slug":"sites-management","depth":2,"children":[{"title":"List All Sites","slug":"list-all-sites","depth":3,"children":[],"tabId":"sites"},{"title":"Count All Sites","slug":"count-all-sites","depth":3,"children":[],"tabId":"sites"},{"title":"Connected Sites","slug":"connected-sites","depth":3,"children":[],"tabId":"sites"},{"title":"Connected Sites Count","slug":"connected-sites-count","depth":3,"children":[],"tabId":"sites"},{"title":"Disconnected Sites","slug":"disconnected-sites","depth":3,"children":[],"tabId":"sites"},{"title":"Disconnected Sites Count","slug":"disconnected-sites-count","depth":3,"children":[],"tabId":"sites"},{"title":"Sync All Sites","slug":"sync-all-sites","depth":3,"children":[],"tabId":"sites"},{"title":"Check All Sites","slug":"check-all-sites","depth":3,"children":[],"tabId":"sites"},{"title":"Disconnect Sites","slug":"disconnect-sites","depth":3,"children":[],"tabId":"sites"}],"tabId":"sites"},{"title":"Single Site Operations","slug":"single-site-operations","depth":2,"children":[{"title":"Site Information","slug":"site-information","depth":3,"children":[],"tabId":"site"},{"title":"Plugins","slug":"plugins","depth":3,"children":[],"tabId":"site"},{"title":"Themes","slug":"themes","depth":3,"children":[],"tabId":"site"},{"title":"Updates \u0026 Status","slug":"updates-\u0026-status","depth":3,"children":[],"tabId":"site"},{"title":"Site Management","slug":"site-management","depth":3,"children":[],"tabId":"site"},{"title":"Apply Updates","slug":"apply-updates","depth":3,"children":[],"tabId":"site"},{"title":"Plugin \u0026 Theme Control","slug":"plugin-\u0026-theme-control","depth":3,"children":[],"tabId":"site"},{"title":"Check HTTP Status","slug":"check-http-status","depth":3,"children":[],"tabId":"site"}],"tabId":"site"},{"title":"Updates Management","slug":"updates-management","depth":2,"children":[{"title":"View Available Updates","slug":"view-available-updates","depth":3,"children":[],"tabId":"updates"},{"title":"Ignored Updates (Global)","slug":"ignored-updates-global","depth":3,"children":[],"tabId":"updates"},{"title":"Ignored Updates (Per Site)","slug":"ignored-updates-per-site","depth":3,"children":[],"tabId":"updates"},{"title":"Ignore Updates Globally","slug":"ignore-updates-globally","depth":3,"children":[],"tabId":"updates"},{"title":"Ignore Updates on Specific Site","slug":"ignore-updates-on-specific-site","depth":3,"children":[],"tabId":"updates"},{"title":"Unignore Updates Globally","slug":"unignore-updates-globally","depth":3,"children":[],"tabId":"updates"},{"title":"Unignore Updates on Specific Site","slug":"unignore-updates-on-specific-site","depth":3,"children":[],"tabId":"updates"},{"title":"Unignore Options","slug":"unignore-options","depth":3,"children":[],"tabId":"updates"}],"tabId":"updates"},{"title":"MainWP Child Connection Authentication","slug":"mainwp-child-connection-authentication","depth":2,"children":[{"title":"Disable Password Authentication","slug":"disable-password-authentication","depth":3,"children":[],"tabId":"mainwp-child"},{"title":"Enable Password Authentication","slug":"enable-password-authentication","depth":3,"children":[],"tabId":"mainwp-child"}],"tabId":"mainwp-child"},{"title":"Restore a Built-In Backup","slug":"restore-a-built-in-backup","depth":2,"children":[{"title":"Restore a Local Archive","slug":"restore-a-local-archive","depth":3,"children":[],"tabId":"mainwp-child"},{"title":"Restore an Encrypted Offsite Copy","slug":"restore-an-encrypted-offsite-copy","depth":3,"children":[],"tabId":"mainwp-child"},{"title":"Restore to a Different Domain","slug":"restore-to-a-different-domain","depth":3,"children":[],"tabId":"mainwp-child"},{"title":"Verify Stored URLs When Constants Are Set","slug":"verify-stored-urls-when-constants-are-set","depth":4,"children":[],"tabId":"mainwp-child"},{"title":"If the Restore Fails","slug":"if-the-restore-fails","depth":3,"children":[],"tabId":"mainwp-child"}],"tabId":"mainwp-child"},{"title":"Example Workflows","slug":"example-workflows","depth":2,"children":[{"title":"Daily Sync Script","slug":"daily-sync-script","depth":3,"children":[]},{"title":"Get Site Overview","slug":"get-site-overview","depth":3,"children":[]}]},{"title":"Self-Check Checklist","slug":"self-check-checklist","depth":2,"children":[]},{"title":"Related Resources","slug":"related-resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mainwp/991921c3a8c7cb98/scripts/addon-panel.js"],"subdomain":"mainwp","siteName":"MainWP Documentation","title":"MainWP WP CLI Commands - MainWP Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T20:07:45.273Z","originalFileLocation":"advanced/miscellaneous/mainwp-wp-cli-commands.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MainWP Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"MainWP WP CLI Commands - MainWP Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MainWP Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mainwp.mintlify.site/_mintlify/api/og/v2?division=Automation\u0026amp;title=MainWP+WP+CLI+Commands\u0026amp;description=Complete+reference+for+MainWP+WP-CLI+commands.+Manage+sites%2C+sync+data%2C+handle+updates%2C+and+automate+WordPress+management+tasks+from+the+command+line.\u0026amp;theme=a2cbfd19b21bb35b7ad4de97\u0026amp;signature=623ef64bb67ab0221deb3d195138c5efc67e42ff2c6b5321fabeb4a28b6ddb26\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"MainWP WP CLI Commands - MainWP Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mainwp.mintlify.site/_mintlify/api/og/v2?division=Automation\u0026amp;title=MainWP+WP+CLI+Commands\u0026amp;description=Complete+reference+for+MainWP+WP-CLI+commands.+Manage+sites%2C+sync+data%2C+handle+updates%2C+and+automate+WordPress+management+tasks+from+the+command+line.\u0026amp;theme=a2cbfd19b21bb35b7ad4de97\u0026amp;signature=623ef64bb67ab0221deb3d195138c5efc67e42ff2c6b5321fabeb4a28b6ddb26\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mainwp/RjpVnAllfMbKne6C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MainWP Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#527300\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/advanced/miscellaneous/mainwp-wp-cli-commands.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.mainwp.com/#organization\",\"name\":\"MainWP Documentation\",\"url\":\"https://docs.mainwp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mainwp/JFFCO2XOQ5mrbOZD/logo/mainwp-2026.png?fit=max\u0026auto=format\u0026n=JFFCO2XOQ5mrbOZD\u0026q=85\u0026s=d853e8162ea9b78247b8b823840ece0c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.mainwp.com#website\",\"name\":\"MainWP Documentation\",\"url\":\"https://docs.mainwp.com\",\"publisher\":{\"@id\":\"https://docs.mainwp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands#webpage\",\"url\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands\",\"name\":\"MainWP WP CLI Commands\",\"description\":\"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.\",\"dateModified\":\"2026-11-10T20:07:45.273Z\",\"isPartOf\":{\"@id\":\"https://docs.mainwp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced\",\"item\":\"https://docs.mainwp.com/advanced/how-to-migrate-the-mainwp-dashboard\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automation\",\"item\":\"https://docs.mainwp.com/advanced/integrations/automate-your-mainwp-workflow-with-suretriggers\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MainWP WP CLI Commands\",\"item\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands#article\",\"headline\":\"MainWP WP CLI Commands\",\"name\":\"MainWP WP CLI Commands\",\"description\":\"Complete reference for MainWP WP-CLI commands. Manage sites, sync data, handle updates, and automate WordPress management tasks from the command line.\",\"url\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mainwp.com/advanced/miscellaneous/mainwp-wp-cli-commands#webpage\"},\"dateModified\":\"2026-11-10T20:07:45.273Z\",\"publisher\":{\"@id\":\"https://docs.mainwp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.mainwp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MainWP Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MainWP Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/advanced/miscellaneous/mainwp-wp-cli-commands.md","siteName":"MainWP Documentation","nav":{"global":{"anchors":[{"anchor":"MainWP.com","icon":"globe","href":"https://mainwp.com"},{"anchor":"Support","icon":"life-ring","href":"https://mainwp.com/support"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","icon":"play","pages":[{"title":"MainWP Introduction","href":"/getting-started/mainwp-introduction"},{"title":"Getting started with MainWP","href":"/getting-started/get-started-with-mainwp"},{"title":"MainWP User Interface","href":"/getting-started/mainwp-user-interface"},{"title":"MainWP Support Modal","href":"/getting-started/mainwp-support-modal"},{"title":"Pre-install FAQ","href":"/getting-started/pre-install-faq"}]},{"group":"Understanding MainWP","icon":"lightbulb","pages":[{"title":"How MainWP Syncs with Child Sites","href":"/getting-started/mainwp-dashboard-child-synchronization-process-explained"},{"title":"How secure is the MainWP plugin?","href":"/getting-started/how-secure-is-the-mainwp-plugin"},{"title":"Self-Hosted \u0026 Open Source Benefits","href":"/getting-started/why-does-self-hosted-and-open-source-matter"},{"title":"Privacy \u0026 Data Handling","href":"/getting-started/are-you-guys-watching-what-i-am-doing"}]},{"group":"Dashboard","icon":"gauge-high","pages":[{"title":"Overview of MainWP Dashboard icons","href":"/dashboard/overview/overview-of-mainwp-dashboard-icons"},{"title":"MainWP Command Palette","sidebarTitle":"Command Palette","href":"/dashboard/overview/mainwp-command-palette"},{"title":"MainWP AI Menu","sidebarTitle":"AI Menu","href":"/dashboard/overview/mainwp-ai"},{"title":"MainWP Knowledge","sidebarTitle":"Knowledge","href":"/dashboard/overview/mainwp-knowledge"},{"title":"MainWP Database Health Check","sidebarTitle":"Database Health Check","href":"/dashboard/overview/mainwp-database-health-check"},{"title":"Manage Add-ons","href":"/dashboard/overview/manage-extensions"},{"title":"Choose Table or Grid View for Manage Sites","href":"/dashboard/overview/choose-list-or-grid-view-for-manage-sites-table"},{"title":"Dashboard Insights","sidebarTitle":"Dashboard Insights","href":"/dashboard/overview/dashboard-insights"},{"title":"What Does Dashboard Insights Track?","sidebarTitle":"Insights Tracking","href":"/dashboard/overview/what-does-dashboard-insights-track"},{"group":"Hosting \u0026 Performance","pages":[{"title":"How to optimize your MainWP Dashboard","href":"/dashboard/overview/how-to-optimize-your-mainwp-dashboard-for-shared-hosting"}]}]},{"group":"Sites","icon":"globe","pages":[{"title":"Manage Sites","href":"/sites/management/manage-child-sites"},{"title":"Uptime Monitoring","href":"/sites/management/uptime-monitoring"},{"title":"MainWP Dashboard Settings","href":"/sites/management/mainwp-dashboard-settings"},{"title":"Export Sites","href":"/sites/how-can-i-export-child-sites"},{"title":"Network Activity","sidebarTitle":"Network Activity","href":"/sites/network-activity"}]},{"group":"Backups","icon":"hard-drive","pages":[{"title":"MainWP Built-In Backups","href":"/sites/backups/manage-backups"},{"title":"Connect pCloud to Built-In Backups","sidebarTitle":"pCloud Storage","href":"/sites/backups/connect-pcloud"},{"title":"API Backups","href":"/sites/backups/api-backups"}]},{"group":"Users","icon":"users","pages":[{"title":"Manage Users","href":"/sites/users/manage-users"},{"title":"Admin Passwords","href":"/sites/users/admin-passwords"},{"title":"Password Policy","href":"/sites/users/password-policy"}]},{"group":"Updates","icon":"arrows-rotate","pages":[{"title":"Manage Updates","href":"/sites/updates/manage-updates"},{"title":"Premium Updates","href":"/sites/updates/premium-updates"},{"title":"Does MainWP have Safe Updates / Rollback?","sidebarTitle":"Safe Updates \u0026 Rollback","href":"/sites/updates/does-mainwp-have-safe-updates"},{"title":"Update Frequency Settings","sidebarTitle":"Update Frequency","href":"/sites/updates/how-to-change-daily-update-and-sync-frequency"},{"title":"How can I change the number of Simultaneous Update Requests?","sidebarTitle":"Simultaneous Requests","href":"/sites/updates/how-to-change-the-number-of-simultaneous-update-requests"},{"title":"What does \"Possibly Abandoned\" mean?","sidebarTitle":"Abandoned Detection","href":"/sites/updates/what-does-possibly-abandoned-mean"},{"title":"How can I change tolerance for Abandoned Plugins and Themes?","sidebarTitle":"Abandoned Tolerance","href":"/sites/updates/how-to-change-tolerance-for-abandoned-plugins-and-themes"}]},{"group":"Plugins","icon":"plug","pages":[{"title":"Manage Plugins","href":"/sites/plugins/managing-plugins-with-mainwp"},{"title":"Check for Abandoned Plugins and Themes","sidebarTitle":"Abandoned Plugins \u0026 Themes","href":"/sites/plugins/check-for-abandoned-plugins-and-themes"}]},{"group":"Themes","icon":"swatchbook","pages":[{"title":"Manage Themes","href":"/sites/themes/managing-themes-with-mainwp"},{"title":"Parent Theme Lock","href":"/sites/themes/parent-theme-lock"},{"title":"Negative Search","href":"/sites/themes/negative-search"}]},{"group":"Content Operations","icon":"file-lines","pages":[{"title":"Manage Posts","href":"/sites/content/manage-posts"},{"title":"Manage Pages","href":"/sites/content/manage-pages"}]},{"group":"Clients","icon":"users","pages":[{"title":"Manage Clients","href":"/clients/manage-clients"},{"title":"Cost Tracker","href":"/clients/cost-tracker"}]},{"group":"MCP Server","icon":"plug","pages":[{"title":"MainWP MCP Server","sidebarTitle":"Overview","href":"/mcp-server/overview"},{"title":"Quickstart","href":"/mcp-server/quickstart"},{"title":"Install in Claude Desktop with the MCP Bundle","sidebarTitle":"Claude Desktop","href":"/mcp-server/claude-desktop-bundle"},{"title":"Connect Your AI Client","sidebarTitle":"Connect Your AI Client","href":"/mcp-server/clients"},{"title":"Connect MainWP to Claude Desktop or Claude Code","sidebarTitle":"Claude Desktop \u0026 Code","href":"/mcp-server/claude-code-plugin"},{"title":"Safety \u0026 Permissions","href":"/mcp-server/safety"},{"title":"Prompt Cookbook","href":"/mcp-server/prompt-cookbook"},{"group":"Guides","pages":[{"title":"Restrict Available Tools","href":"/mcp-server/guides/restrict-tools"},{"title":"Use Abilities from Other Plugins","href":"/mcp-server/guides/other-plugin-abilities"},{"title":"Optimize Token Usage","href":"/mcp-server/guides/token-usage"}]},{"group":"Reference","pages":[{"title":"Configuration Reference","href":"/mcp-server/reference/configuration"},{"title":"Tools \u0026 Resources","href":"/mcp-server/reference/tools"},{"title":"Security Model","href":"/mcp-server/reference/security"}]},{"title":"Troubleshooting","href":"/mcp-server/troubleshooting"}]},{"group":"API Reference","icon":"code","pages":[{"title":"MainWP API Reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"group":"REST API","pages":[{"title":"REST API Overview","sidebarTitle":"REST API Overview","href":"/api-reference/rest-api/overview"},{"title":"Sites Endpoints","sidebarTitle":"Sites Endpoints","href":"/api-reference/rest-api/sites"},{"title":"Clients Endpoints","sidebarTitle":"Clients Endpoints","href":"/api-reference/rest-api/clients"},{"title":"Tags Endpoints","sidebarTitle":"Tags Endpoints","href":"/api-reference/rest-api/tags"},{"title":"Updates Endpoints","sidebarTitle":"Updates Endpoints","href":"/api-reference/rest-api/updates"},{"title":"Costs Endpoints","sidebarTitle":"Costs Endpoints","href":"/api-reference/rest-api/costs"},{"title":"Users Endpoints","sidebarTitle":"Users Endpoints","href":"/api-reference/rest-api/users"},{"title":"Settings Endpoints","sidebarTitle":"Settings Endpoints","href":"/api-reference/rest-api/settings"},{"title":"Monitoring Endpoints","sidebarTitle":"Monitoring Endpoints","href":"/api-reference/rest-api/monitoring"},{"title":"API Keys Endpoints","sidebarTitle":"API Keys Endpoints","href":"/api-reference/rest-api/api-keys"},{"title":"Posts Endpoints","sidebarTitle":"Posts Endpoints","href":"/api-reference/rest-api/posts"},{"title":"Pages Endpoints","sidebarTitle":"Pages Endpoints","href":"/api-reference/rest-api/pages"},{"title":"Batch Endpoint","sidebarTitle":"Batch Endpoints","href":"/api-reference/rest-api/batch"},{"title":"Add-on Endpoints","sidebarTitle":"Add-on Endpoints","href":"/api-reference/rest-api/extensions"}]},{"title":"Application Passwords","sidebarTitle":"Application Passwords","href":"/api-reference/rest-api/application-passwords"},{"group":"Abilities API","pages":[{"title":"Abilities API Overview","sidebarTitle":"Abilities API Overview","href":"/api-reference/abilities-api/overview"},{"title":"Sites Abilities","sidebarTitle":"Sites Abilities","href":"/api-reference/abilities-api/sites"},{"title":"Updates Abilities","sidebarTitle":"Updates Abilities","href":"/api-reference/abilities-api/updates"},{"title":"Built-In Backup Abilities","sidebarTitle":"Backup Abilities","href":"/api-reference/abilities-api/backups"},{"title":"Clients Abilities","sidebarTitle":"Clients Abilities","href":"/api-reference/abilities-api/clients"},{"title":"Tags Abilities","sidebarTitle":"Tags Abilities","href":"/api-reference/abilities-api/tags"},{"title":"Batch Operations","sidebarTitle":"Batch Operations Abilities","href":"/api-reference/abilities-api/batch-operations"},{"title":"Termageddon Abilities","sidebarTitle":"Termageddon","href":"/api-reference/abilities-api/termageddon"}]},{"group":"Add-on Abilities","pages":[{"title":"Advanced Uptime Monitor Abilities","sidebarTitle":"Uptime Monitor Abilities","href":"/api-reference/abilities-api/advanced-uptime-monitor"},{"title":"Article Uploader Abilities","sidebarTitle":"Article Uploader Abilities","href":"/api-reference/abilities-api/article-uploader"},{"title":"Cache Control Abilities","sidebarTitle":"Cache Control Abilities","href":"/api-reference/abilities-api/cache-control"},{"title":"Clone Abilities","sidebarTitle":"Clone Abilities","href":"/api-reference/abilities-api/clone"},{"title":"Comments Abilities","sidebarTitle":"Comments Abilities","href":"/api-reference/abilities-api/comments"},{"title":"Cost Tracker Assistant Abilities","sidebarTitle":"Cost Tracker Assistant Abilities","href":"/api-reference/abilities-api/cost-tracker-assistant"},{"title":"Custom Dashboard Abilities","sidebarTitle":"Custom Dashboard Abilities","href":"/api-reference/abilities-api/custom-dashboard"},{"title":"Dashboard Lock Abilities","sidebarTitle":"Dashboard Lock Abilities","href":"/api-reference/abilities-api/dashboard-lock"},{"title":"Database Updater Abilities","sidebarTitle":"Database Updater Abilities","href":"/api-reference/abilities-api/database-updater"},{"title":"Domain Monitor Abilities","sidebarTitle":"Domain Monitor Abilities","href":"/api-reference/abilities-api/domain-monitor"},{"title":"Fathom Abilities","sidebarTitle":"Fathom Abilities","href":"/api-reference/abilities-api/fathom"},{"title":"Favorites Abilities","sidebarTitle":"Favorites Abilities","href":"/api-reference/abilities-api/favorites"},{"title":"File Uploader Abilities","sidebarTitle":"File Uploader Abilities","href":"/api-reference/abilities-api/file-uploader"},{"title":"Google Analytics Abilities","sidebarTitle":"Google Analytics Abilities","href":"/api-reference/abilities-api/google-analytics"},{"title":"Google Search Console Abilities","sidebarTitle":"Google Search Console Abilities","href":"/api-reference/abilities-api/google-search-console"},{"title":"Jetpack Protect Abilities","sidebarTitle":"Jetpack Protect Abilities","href":"/api-reference/abilities-api/jetpack-protect"},{"title":"Lighthouse Abilities","sidebarTitle":"Lighthouse Abilities","href":"/api-reference/abilities-api/lighthouse"},{"title":"Maintenance Abilities","sidebarTitle":"Maintenance Abilities","href":"/api-reference/abilities-api/maintenance"},{"title":"Matomo Abilities","sidebarTitle":"Matomo Abilities","href":"/api-reference/abilities-api/matomo"},{"title":"Patchstack Abilities","sidebarTitle":"Patchstack Abilities","href":"/api-reference/abilities-api/patchstack"},{"title":"Post Plus Abilities","sidebarTitle":"Post Plus Abilities","href":"/api-reference/abilities-api/post-plus"},{"title":"Pressable Abilities","sidebarTitle":"Pressable Abilities","href":"/api-reference/abilities-api/pressable"},{"title":"Pro Reports Abilities","sidebarTitle":"Pro Reports Abilities","href":"/api-reference/abilities-api/pro-reports"},{"title":"SSL Monitor Abilities","sidebarTitle":"SSL Monitor Abilities","href":"/api-reference/abilities-api/ssl-monitor"},{"title":"Staging Abilities","sidebarTitle":"Staging Abilities","href":"/api-reference/abilities-api/staging"},{"title":"Time Tracker Abilities","sidebarTitle":"Time Tracker Abilities","href":"/api-reference/abilities-api/time-tracker"},{"title":"URL Extractor Abilities","sidebarTitle":"URL Extractor Abilities","href":"/api-reference/abilities-api/url-extractor"},{"title":"Virusdie Abilities","sidebarTitle":"Virusdie Abilities","href":"/api-reference/abilities-api/virusdie"},{"title":"Vulnerability Checker Policy Ability","sidebarTitle":"Vulnerability Checker","href":"/api-reference/abilities-api/vulnerability-checker"},{"title":"White Label Abilities","sidebarTitle":"White Label Abilities","href":"/api-reference/abilities-api/white-label"},{"title":"WooCommerce Shortcuts Abilities","sidebarTitle":"WooCommerce Shortcuts Abilities","href":"/api-reference/abilities-api/woocommerce-shortcuts"},{"title":"WooCommerce Status Abilities","sidebarTitle":"WooCommerce Status Abilities","href":"/api-reference/abilities-api/woocommerce-status"},{"title":"Wordfence Abilities","sidebarTitle":"Wordfence Abilities","href":"/api-reference/abilities-api/wordfence"},{"title":"WordPress SEO Abilities","sidebarTitle":"WordPress SEO Abilities","href":"/api-reference/abilities-api/wordpress-seo"},{"title":"WP Rocket Abilities","sidebarTitle":"WP Rocket Abilities","href":"/api-reference/abilities-api/wp-rocket"}]},{"title":"MainWP Control","href":"/api-reference/mainwp-control"}]},{"group":"Troubleshooting","icon":"screwdriver-wrench","pages":[{"group":"Connection Issues","pages":[{"title":"Troubleshoot connection problems","href":"/troubleshooting/potential-issues"},{"title":"Connection test results (HTTP Status Codes)","href":"/troubleshooting/connection-test-results-status-codes"},{"title":"Re-establish Connections with Child Sites","href":"/troubleshooting/how-can-i-force-my-mainwp-dashboard-to-reestablish-connection-with-child-sites"},{"title":"Use child site response to troubleshoot connection problems","href":"/troubleshooting/how-to-use-child-site-response-to-troubleshoot-connection-problems"},{"title":"All child sites disappeared from my MainWP Dashboard","href":"/troubleshooting/all-child-sites-disappeared-from-my-mainwp-dashboard"},{"title":"Understanding the \"MainWP Child Plugin is activated but not connected\" Notice","sidebarTitle":"Child Plugin Not Connected","href":"/troubleshooting/understanding-the-mainwp-child-plugin-is-activated-but-not-connected-notice"},{"title":"Resolve connection issues with 20i hosting","sidebarTitle":"20i Hosting Connection Issues","href":"/troubleshooting/how-to-resolve-issue-with-connecting-a-child-site-hosted-on-20i"},{"title":"WordPress REST API does not respond","href":"/troubleshooting/wordpress-rest-api-does-not-respond"},{"title":"Images not copying when creating posts via MainWP Dashboard","sidebarTitle":"Images Not Copying","href":"/troubleshooting/images-not-copying-when-creating-posts-via-mainwp-dashboard"},{"title":"Reconnect Sites with Security ID","sidebarTitle":"Reconnect with Security ID","href":"/getting-started/child-plugin-5-2-1-reconnecting-child-sites-with-unique-security-id"}]},{"group":"Update Issues","pages":[{"title":"MainWP fails to update all items on child sites","href":"/troubleshooting/mainwp-fails-to-update-all-items-on-child-sites"},{"title":"My plugin got deleted/deactivated/corrupted after updating it via the MainWP Dashboard","sidebarTitle":"Plugin Deleted After Update","href":"/troubleshooting/my-plugin-got-deleted-deactivated-corrupted-after-updating-it-via-the-mainwp-dashboard"},{"title":"Plugin and theme installation fails with \"Upload failed\"","sidebarTitle":"Upload Failed Error","href":"/troubleshooting/plugin-installation-fails-with-error-message-upload-failed"},{"title":"Premium plugin not showing the changelog on MainWP Dashboard","href":"/troubleshooting/why-does-my-premium-plugin-not-show-a-changelog-on-mainwp-dashboard"},{"title":"Premium Plugin Updates Not Detected","sidebarTitle":"Premium Plugin Updates","href":"/troubleshooting/premium-plugin-updates-not-detected"},{"title":"Premium Theme Updates Not Detected","href":"/troubleshooting/premium-theme-updates-not-detected"},{"title":"Deleting plugins and themes not working on WP Engine child sites","sidebarTitle":"WP Engine Delete Issues","href":"/troubleshooting/deleting-plugins-and-themes-not-working-on-the-wp-engine-hosted-child-sites-wp-engine-hosting"}]},{"group":"Access \u0026 Authentication","pages":[{"title":"Troubleshoot Jump to WP Admin issues","sidebarTitle":"Jump to WP Admin Issues","href":"/troubleshooting/troubleshooting-issues-with-jump-to-the-site-wp-admin-functionality"},{"title":"Use Jump to WP Admin with HTTP Basic Authentication","sidebarTitle":"Jump with HTTP Basic Auth","href":"/troubleshooting/use-of-jump-to-wp-admin-with-child-sites-protected-by-http-basic-authentication"},{"title":"Can I change wp-admin and wp-login.php URLs?","sidebarTitle":"Custom Admin URLs","href":"/troubleshooting/am-i-allowed-to-change-wp-admin-and-wp-login-php-url"}]},{"group":"Email \u0026 Notifications","pages":[{"title":"MainWP Dashboard not sending emails","href":"/troubleshooting/my-mainwp-dashboard-not-sending-emails"},{"title":"Why can't I edit email templates in my MainWP Dashboard?","sidebarTitle":"Email Template Editing","href":"/troubleshooting/why-cant-i-edit-email-templates-in-my-mainwp-dashboard"}]},{"group":"Add-ons \u0026 Licensing","pages":[{"title":"Troubleshoot add-on licensing issues","href":"/troubleshooting/troubleshoot-extension-licensing-issues"},{"title":"Why is my Add-ons page empty?","href":"/troubleshooting/why-is-my-extensions-page-empty"},{"title":"Pro Reports PDF images not showing","href":"/troubleshooting/pro-reports-pdf-images-not-showing"}]},{"group":"System \u0026 Performance","pages":[{"title":"Restart the MainWP Quick Setup Wizard","href":"/dashboard/overview/how-can-i-initiate-the-quick-setup-wizard"},{"title":"How to enable Error Logging?","href":"/troubleshooting/how-to-enable-error-logging"},{"title":"Resolve MAX_JOIN_SIZE Errors in MainWP Dashboard","sidebarTitle":"MAX_JOIN_SIZE Errors","href":"/troubleshooting/resolve-max-join-size-errors"},{"title":"Which MainWP database tables usually take the most space?","sidebarTitle":"Large DB Tables","href":"/troubleshooting/which-mainwp-database-tables-can-get-large"},{"title":"Slow Updates Pages on Large Site Networks","sidebarTitle":"Slow Updates Pages","href":"/troubleshooting/slow-updates-pages-large-networks"},{"title":"Resolve system requirement issues","href":"/troubleshooting/resolve-system-requirement-issues"},{"title":"Does MainWP Child plugin affect my child site loading time?","sidebarTitle":"Child Plugin Performance","href":"/troubleshooting/does-mainwp-child-plugin-affect-my-child-site-loading-time"},{"title":"Why was the .htaccess file removed from MainWP Child?","sidebarTitle":"Child .htaccess Removal","href":"/troubleshooting/why-was-the-htaccess-file-removed-from-mainwp-child"},{"title":"What port and User Agent does MainWP use?","sidebarTitle":"Ports and User Agent","href":"/troubleshooting/what-port-and-user-agent-does-mainwp-use"},{"title":"Which outbound connections does MainWP Dashboard use?","sidebarTitle":"Outbound Connections","href":"/troubleshooting/which-outbound-connections-does-mainwp-dashboard-use"},{"title":"When I Push Changes from Live to Staging, Child Site Needs to be Reconnected, Why?","sidebarTitle":"Staging Sync Breaks Connection","href":"/troubleshooting/when-i-push-changes-from-live-to-staging-child-site-needs-to-be-reconnected-why"},{"title":"Does MainWP have Visual Regression Tests?","sidebarTitle":"Visual Regression Testing","href":"/troubleshooting/does-mainwp-have-visual-regression-tests"}]}]},{"group":"Customization","icon":"palette","pages":[{"group":"Dashboard Appearance","pages":[{"title":"MainWP Dashboard Themes","sidebarTitle":"Dashboard Themes","href":"/customization/how-to-change-the-theme-for-mainwp"},{"title":"Can I change the Sidebar position?","sidebarTitle":"Change Sidebar Position","href":"/customization/how-to-change-the-sidebar-position"},{"title":"How to customize MainWP Dashboard logo","sidebarTitle":"Customize Dashboard Logo","href":"/customization/customize-mainwp-dashboard-logo"},{"title":"Reload a Child Site Favicon","sidebarTitle":"Reload Favicon","href":"/customization/reload-child-site-favicon"},{"title":"How can I change the number of widget columns on the Overview page?","sidebarTitle":"Widget Columns","href":"/customization/how-can-i-change-the-number-of-widget-columns-on-the-overview-page"},{"title":"Hide Dashboard Widgets","sidebarTitle":"Hide Widgets","href":"/customization/can-i-hide-widgets-that-i-dont-need"},{"title":"How to hide \"New\" and \"Beta\" labels on the MainWP Dashboard","sidebarTitle":"Hide New/Beta Labels","href":"/customization/hiding-new-and-beta-labels-on-the-dashboard"},{"title":"MainWP Dashboard Header Menu","sidebarTitle":"Dashboard Header Menu","href":"/customization/what-profile-picture-is-shown-in-the-top-right-of-the-mainwp-dashboard"}]},{"group":"Navigation \u0026 Tables","pages":[{"title":"How to add new menu entries to the MainWP Dashboard navigation","sidebarTitle":"Add Menu Entries","href":"/customization/add-new-menu-entries-to-the-mainwp-dashboard-navigation"},{"title":"How to add a custom tab to the Add Site screen","sidebarTitle":"Custom Add Site Tabs","href":"/customization/add-a-custom-tab-to-the-add-site-screen"},{"title":"How to add WP Admin button to the main Navigation bar","sidebarTitle":"Add WP Admin Button","href":"/customization/how-to-add-wp-admin-button-to-the-main-navigation-bar"},{"title":"How to change the default page after logging into WordPress","sidebarTitle":"Change Login Redirect","href":"/customization/how-to-change-the-default-page-after-logging-into-wordpress"},{"title":"How to create a new column in the Manage Sites table","sidebarTitle":"Custom Table Columns","href":"/customization/how-to-create-a-new-column-in-the-manage-sites-table"},{"title":"Retrieve Site Access Query Conditions","sidebarTitle":"Site Access Queries","href":"/customization/retrieve-site-access-query-conditions"}]},{"group":"Notifications \u0026 Prompts","pages":[{"title":"Disable Update Confirmations","sidebarTitle":"Disable Confirmations","href":"/customization/how-to-disable-update-confirmation-popups"},{"title":"How can I turn off guided tours?","sidebarTitle":"Turn Off Guided Tours","href":"/customization/how-to-turn-off-guided-tours"},{"title":"How to disable tooltips in MainWP Dashboard","sidebarTitle":"Disable Tooltips","href":"/customization/how-to-disable-tooltips-in-mainwp-dashboard"},{"title":"How can I hide the Update Everything button?","sidebarTitle":"Hide Update Everything","href":"/customization/how-can-i-hide-the-update-everything-button"}]},{"group":"Email Settings","pages":[{"title":"How to change the FROM address for MainWP emails","sidebarTitle":"Email FROM Address","href":"/customization/how-to-change-the-from-address-for-mainwp-emails"}]},{"group":"Technical Settings","pages":[{"title":"Run MainWP Workers Directly with Server Cron","sidebarTitle":"Direct Cron Workers (Advanced)","href":"/customization/disable-wp-cron"},{"title":"Cron Key for HTTP Cron Calls","sidebarTitle":"Cron Key","href":"/customization/cron-key-for-http-cron-calls"},{"title":"Manage WP Cron on a Low-Traffic MainWP Dashboard","sidebarTitle":"WP Cron on Dashboard","href":"/customization/manage-wp-cron-on-low-traffic-mainwp-dashboard"},{"title":"How to Set FS_METHOD Properly","sidebarTitle":"FS_METHOD Setting","href":"/customization/required-fs_method"},{"title":"How to remove unwanted Hardening Checks","sidebarTitle":"Remove Hardening Checks","href":"/customization/how-to-remove-unwanted-hardening-checks"},{"title":"How to limit the number of entries loaded in the Non-MainWP widget","sidebarTitle":"Limit Widget Entries","href":"/customization/limit-the-number-of-entries-loaded-in-the-non-mainwp-widget"}]},{"group":"Cleanup \u0026 Uninstall","pages":[{"title":"How to delete MainWP related content from a Child Site database","sidebarTitle":"Delete MainWP Data","href":"/customization/delete-mainwp-related-content-from-a-child-site-database"},{"title":"How to uninstall MainWP Child Reports plugin database","sidebarTitle":"Uninstall Reports Database","href":"/customization/how-to-uninstall-mainwp-child-reports-database"}]}]},{"group":"Advanced","icon":"gears","pages":[{"group":"Migration \u0026 Domain Changes","pages":[{"title":"Migrate the MainWP Dashboard to a Different Server","sidebarTitle":"Migrate Dashboard","href":"/advanced/how-to-migrate-the-mainwp-dashboard"},{"title":"Move MainWP Dashboard to a New Domain or Subdomain","sidebarTitle":"Change Dashboard Domain","href":"/advanced/changing-the-domain-of-your-mainwp-dashboard-site"},{"title":"How can I move Child Sites to another MainWP Dashboard?","sidebarTitle":"Move Child Sites","href":"/advanced/move-child-sites-to-another-mainwp-dashboard"}]},{"group":"Security \u0026 Encryption","pages":[{"title":"OpenSSL Key Encryption After Upgrading to v5.3","sidebarTitle":"OpenSSL Key Encryption","href":"/advanced/openssl-keys-encryption"},{"title":"How to find the OpenSSL.cnf file","sidebarTitle":"Find openssl.cnf","href":"/advanced/how-to-find-the-openssl-cnf-file"},{"title":"Custom signature algorithm and PHPSecLib as alternative to OpenSSL","sidebarTitle":"Signature Algorithm \u0026 PHPSecLib","href":"/advanced/custom-signature-algorithm-and-phpseclib-as-alternative-to-openssl"},{"title":"How MainWP stores 3rd-party API Keys and other sensitive data","sidebarTitle":"API Key Storage","href":"/advanced/security/how-mainwp-stores-3rd-party-api-keys-and-other-sensitive-data"},{"title":"MainWP connection security","sidebarTitle":"Connection Security","href":"/advanced/miscellaneous/mainwp-connection-security"},{"title":"MainWP.com Login Security","sidebarTitle":"MainWP.com Account Security","href":"/advanced/miscellaneous/mainwp-com-login-security"},{"title":"How to add Two-Factor Authentication (2FA) to MainWP","sidebarTitle":"Dashboard 2FA","href":"/advanced/miscellaneous/how-to-add-two-factor-authentication-2fa-to-mainwp"}]},{"group":"Automation","pages":[{"title":"Automate your MainWP workflow with SureTriggers","sidebarTitle":"SureTriggers Automation","description":"Connect MainWP to SureTriggers to automate workflows like adding sites from form submissions, syncing data to spreadsheets, and managing sites automatically.","href":"/advanced/integrations/automate-your-mainwp-workflow-with-suretriggers"},{"title":"MainWP WP CLI Commands","sidebarTitle":"WP-CLI Commands","href":"/advanced/miscellaneous/mainwp-wp-cli-commands"}]},{"group":"Hosting \u0026 Compatibility","pages":[{"title":"Hosting Compatibility","sidebarTitle":"Hosting Compatibility","description":"Hosting compatibility information for MainWP Dashboard and Child Sites, including recommended hosts and providers requiring additional configuration.","href":"/advanced/miscellaneous/hosting-compatibility"},{"title":"MainWP System Requirements","sidebarTitle":"System Requirements","href":"/advanced/miscellaneous/mainwp-system-requirements"},{"title":"Required PHP Functions for MainWP","sidebarTitle":"Required PHP Functions","href":"/advanced/miscellaneous/required-php-functions-for-mainwp"},{"title":"Enable tmpfile() PHP function on Cloudways","sidebarTitle":"Enable tmpfile on Cloudways","href":"/advanced/miscellaneous/enable-tmpfile-php-function-on-cloudways"},{"title":"MainWP and Strattic compatibility","sidebarTitle":"Strattic Compatibility","href":"/advanced/miscellaneous/mainwp-and-strattic-compatibility"},{"title":"MainWP and WordPress Multisite compatibility test","sidebarTitle":"Multisite Compatibility","href":"/advanced/miscellaneous/mainwp-and-wordpress-multisite-compatibility-test"},{"title":"How can I change the number of Simultaneous Sync Requests?","sidebarTitle":"Simultaneous Sync Requests","href":"/advanced/how-to-change-the-number-of-simultaneous-sync-requests"}]},{"group":"Plugins \u0026 Themes","pages":[{"title":"How to find sites that don't have a certain plugin or theme installed","sidebarTitle":"Find Sites Missing Plugin/Theme","href":"/advanced/miscellaneous/how-to-find-sites-that-dont-have-a-certain-plugin-or-theme-installed"},{"title":"How to install a plugin on sites that already have a certain plugin installed","sidebarTitle":"Install on Sites with Plugin","href":"/advanced/miscellaneous/how-to-install-a-plugin-on-sites-that-already-have-a-certain-plugin-installed"},{"title":"Ensuring correct language for plugins after bulk Installation","sidebarTitle":"Plugin Language After Install","href":"/advanced/miscellaneous/ensuring-correct-language-for-plugins-after-bulk-installation"},{"title":"Limited Access to WordPress.org Resources and its Impact on MainWP Users","sidebarTitle":"WordPress.org Access Issues","href":"/advanced/miscellaneous/limited-access-to-wordpress-org-resources-and-its-impact-on-mainwp-users"}]},{"group":"Tools \u0026 Utilities","pages":[{"title":"MainWP Browser Extension","sidebarTitle":"Browser Extension","href":"/advanced/miscellaneous/mainwp-browser-extensions"},{"title":"MainWP Bridge (bridge.mainwp.com)","sidebarTitle":"MainWP Bridge","href":"/advanced/miscellaneous/mainwp-bridge"},{"title":"Reset page settings","sidebarTitle":"Reset Page Settings","href":"/advanced/miscellaneous/reset-page-settings"},{"title":"Understanding the .rnd File Found in the wp-admin Directory","sidebarTitle":"The .rnd File","href":"/advanced/miscellaneous/understanding-the-rnd-file-found-in-the-wp-admin-directory"}]},{"group":"Early Access","pages":[{"title":"MainWP Early Access Extension","sidebarTitle":"Early Access","href":"/advanced/miscellaneous/early-access-updater"},{"title":"MainWP Telemetry (Early Access)","sidebarTitle":"Telemetry","href":"/advanced/miscellaneous/mainwp-telemetry-early-access"}]},{"group":"Third-Party Add-ons","pages":[{"title":"Support for 3rd Party Add-ons","sidebarTitle":"3rd Party Support","href":"/advanced/miscellaneous/support-for-3rd-party-extensions"},{"title":"Required Plugins Check for MainWP Add-ons","sidebarTitle":"Required Plugins Check","href":"/advanced/miscellaneous/required-plugins-check-for-mainwp-extensions"}]}]},{"group":"Resources","icon":"book","pages":[{"title":"Do you have a coupon?","sidebarTitle":"Coupons","href":"/resources/do-you-have-a-coupon"},{"group":"Affiliate Program","pages":[{"title":"Affiliate FAQs","sidebarTitle":"Affiliate FAQs","href":"/resources/affiliate/affiliate-faqs"},{"title":"Direct link tracking explained","sidebarTitle":"Direct Link Tracking","href":"/resources/affiliate/direct-link-tracking-explained"}]}]}]},{"tab":"Add-Ons","pages":[{"title":"Add-Ons","href":"/add-ons/overview"}]}]},"basePath":"","title":"MainWP WP CLI Commands - MainWP Documentation","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}