Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.
Use the mainwp_add_site_top_navigation and mainwp_add_site_tabs_content action hooks when an Add-on or custom workflow needs its own tab on the Add Site screen.
The data-tab value must match in the navigation item and content panel. Replace custom-site, the label, icon, and panel content with values for your workflow.
Adds an item beside the built-in Single Site, Multiple Sites, and Import Sites navigation items
$active is the current tab slug; $item_link indicates whether the item must link back to the Add Site screen
mainwp_add_site_tabs_content
Adds the content panel that corresponds to the custom navigation item
None
The custom content hook runs inside the existing Add Site form. Do not add another <form> element. Any fields and submission handling you add should include appropriate capability checks, nonce validation, sanitization, and escaping.
{"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":"6aee0414aaaef32f99551a0a","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Documentation","count":210},{"language":"default","tag":"Add-Ons","count":87},{"language":"default","tag":"API Reference","count":53},{"language":"default","tag":"Troubleshooting","count":37},{"language":"default","tag":"Advanced","count":31},{"language":"default","tag":"Add-on Abilities","count":28},{"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":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"comment-mode","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":"customization/add-a-custom-tab-to-the-add-site-screen","slug":"/customization/add-a-custom-tab-to-the-add-site-screen","pageMetadata":{"title":"How to add a custom tab to the Add Site screen","sidebarTitle":"Custom Add Site Tabs","description":"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.","href":"/customization/add-a-custom-tab-to-the-add-site-screen"},"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: \"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.\"\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`,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,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use the `,_jsx(_components.code,{children:`mainwp_add_site_top_navigation`}),` and `,_jsx(_components.code,{children:`mainwp_add_site_tabs_content`}),` action hooks when an Add-on or custom workflow needs its own tab on the `,_jsx(_components.strong,{children:`Add Site`}),` screen.`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`MainWP Dashboard 6.1.6 or newer`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/add-ons/development/mainwp-custom-dashboard-extension`,children:`Custom Dashboard extension`}),` (free) or a custom plugin`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-a-custom-tab`,children:`Add a Custom Tab`}),`\n`,_jsxs(_components.p,{children:[`Add the following PHP code to the `,_jsx(_components.strong,{children:`PHP`}),` tab in the Custom Dashboard extension, or adapt it for your custom plugin:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`php`,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:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`31`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'mainwp_add_site_top_navigation'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'mycustom_add_site_tab_navigation'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` mycustom_add_site_tab_navigation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$active`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$item_link`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $tab`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'custom-site'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $classes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'item'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$tab`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $active`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ' active'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $href`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $item_link`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ' href=\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`admin_url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'admin.php?page=managesites\u0026do=new\u0026menu_active='`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ) ) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\"'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` printf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003ca class=\"%1$s\" data-tab=\"%2$s\"%3$s>\u003ci class=\"puzzle piece icon\">\u003c/i>%4$s\u003c/a>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_attr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$classes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_attr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$tab`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $href`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_html__`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Custom Site'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'your-text-domain'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'mainwp_add_site_tabs_content'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'mycustom_add_site_tab_content'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` mycustom_add_site_tab_content`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $active`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` isset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$_GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'menu_active'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] )`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` sanitize_key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`wp_unslash`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$_GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'menu_active'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] ) )`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'single-site'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $classes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'ui bottom attached tab padded segment'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'custom-site'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $active`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ' active'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` printf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '\u003cdiv class=\"%1$s\" data-tab=\"custom-site\">\u003ch2 class=\"ui header\">%2$s\u003c/h2>\u003cp>%3$s\u003c/p>\u003c/div>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_attr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$classes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_html__`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Custom Site'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'your-text-domain'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` esc_html__`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`( `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Add your custom fields or instructions here.'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'your-text-domain'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`data-tab`}),` value must match in the navigation item and content panel. Replace `,_jsx(_components.code,{children:`custom-site`}),`, the label, icon, and panel content with values for your workflow.`]}),`\n`,_jsx(Heading,{level:`2`,id:`hook-reference`,children:`Hook Reference`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Hook`}),_jsx(_components.th,{children:`Purpose`}),_jsx(_components.th,{children:`Arguments`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mainwp_add_site_top_navigation`})}),_jsx(_components.td,{children:`Adds an item beside the built-in Single Site, Multiple Sites, and Import Sites navigation items`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`$active`}),` is the current tab slug; `,_jsx(_components.code,{children:`$item_link`}),` indicates whether the item must link back to the Add Site screen`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mainwp_add_site_tabs_content`})}),_jsx(_components.td,{children:`Adds the content panel that corresponds to the custom navigation item`}),_jsx(_components.td,{children:`None`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The custom content hook runs inside the existing Add Site form. Do not add another `,_jsx(_components.code,{children:`\u003cform>`}),` element. Any fields and submission handling you add should include appropriate capability checks, nonce validation, sanitization, and escaping.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related Resources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/customization/add-new-menu-entries-to-the-mainwp-dashboard-navigation`,children:`Add New Menu Entries`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/add-ons/development/mainwp-custom-dashboard-extension`,children:`Custom Dashboard Extension`})}),`\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":"How to add a custom tab to the Add Site screen","sidebarTitle":"Custom Add Site Tabs","description":"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.","href":"/customization/add-a-custom-tab-to-the-add-site-screen"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Add a Custom Tab","slug":"add-a-custom-tab","depth":2,"children":[]},{"title":"Hook Reference","slug":"hook-reference","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":"How to add a custom tab to the Add Site screen - MainWP Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-07T17:11:41.035Z","originalFileLocation":"customization/add-a-custom-tab-to-the-add-site-screen.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=\"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.\">\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=\"How to add a custom tab to the Add Site screen - MainWP Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MainWP Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen\">\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=Navigation+%26+Tables\u0026amp;title=How+to+add+a+custom+tab+to+the+Add+Site+screen\u0026amp;description=Add+a+custom+navigation+item+and+matching+content+panel+to+the+MainWP+Dashboard+Add+Site+screen+with+two+PHP+action+hooks.\u0026amp;theme=a59bc987537a344f26594e57\u0026amp;signature=d37a721f7f8ecaf54547bb00faa402f858c71ed59ee187bcc8321529a5ca8620\">\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=\"How to add a custom tab to the Add Site screen - MainWP Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mainwp.mintlify.site/_mintlify/api/og/v2?division=Navigation+%26+Tables\u0026amp;title=How+to+add+a+custom+tab+to+the+Add+Site+screen\u0026amp;description=Add+a+custom+navigation+item+and+matching+content+panel+to+the+MainWP+Dashboard+Add+Site+screen+with+two+PHP+action+hooks.\u0026amp;theme=a59bc987537a344f26594e57\u0026amp;signature=d37a721f7f8ecaf54547bb00faa402f858c71ed59ee187bcc8321529a5ca8620\">\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/customization/add-a-custom-tab-to-the-add-site-screen\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/customization/add-a-custom-tab-to-the-add-site-screen.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/customization/add-a-custom-tab-to-the-add-site-screen#webpage\",\"url\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen\",\"name\":\"How to add a custom tab to the Add Site screen\",\"description\":\"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.\",\"dateModified\":\"2026-08-07T17:11:41.035Z\",\"isPartOf\":{\"@id\":\"https://docs.mainwp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customization\",\"item\":\"https://docs.mainwp.com/customization/how-to-change-the-theme-for-mainwp\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Navigation \u0026 Tables\",\"item\":\"https://docs.mainwp.com/customization/add-new-menu-entries-to-the-mainwp-dashboard-navigation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to add a custom tab to the Add Site screen\",\"item\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen#article\",\"headline\":\"How to add a custom tab to the Add Site screen\",\"name\":\"How to add a custom tab to the Add Site screen\",\"description\":\"Add a custom navigation item and matching content panel to the MainWP Dashboard Add Site screen with two PHP action hooks.\",\"url\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen\",\"mainEntityOfPage\":{\"@id\":\"https://docs.mainwp.com/customization/add-a-custom-tab-to-the-add-site-screen#webpage\"},\"dateModified\":\"2026-08-07T17:11:41.035Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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":"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":"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":"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":"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":"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","description":"Add custom menu entries to the MainWP Dashboard navigation sidebar using PHP filters and the mainwp_main_menu hook.","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","description":"Add the WP Admin link back to the MainWP Dashboard navigation sidebar using PHP and CSS code snippets with the Custom Dashboard extension.","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","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","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":"How to add a custom tab to the Add Site screen - MainWP Documentation","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}