mainwp.dev/source-code/dashboard/classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html
2025-03-17 19:02:54 -04:00

2482 lines
148 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MainWP Dashboard Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/template.js"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">MainWP Dashboard Documentation</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category -namespaces">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/mainwp.html" class="">MainWP</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/mainwp-dashboard.html" class="">Dashboard</a>
</li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category -packages">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPDashboard.html" class="">MainWPDashboard</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPAPIManagerKeyHandler.html" class="">MainWPAPIManagerKeyHandler</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPMainWP.html" class="">MainWPMainWP</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPMainWP-API.html" class="">API</a>
</li>
<li>
<a href="packages/MainWPMainWP-Keys.html" class="">Keys</a>
</li>
<li>
<a href="packages/MainWPMainWP-Client.html" class="">Client</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPAPIManagerUpdateHandler.html" class="">MainWPAPIManagerUpdateHandler</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPMainWPAPIManager.html" class="">MainWPMainWPAPIManager</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWP.html" class="">MainWP</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
</li>
<li>
<a href="packages/MainWP-DashboardMainWPsitesclientlist.html" class="">DashboardMainWPsitesclientlist</a>
</li>
<li>
<a href="packages/MainWP-DashboardThisclasshandlesthe.html" class="">DashboardThisclasshandlesthe</a>
</li>
<li>
<a href="packages/MainWP-DashboardMainWPsitesmonitoringlist.html" class="">DashboardMainWPsitesmonitoringlist</a>
</li>
<li>
<a href="packages/MainWP-DashboardCheckforpremiumpluginupdates.html" class="">DashboardCheckforpremiumpluginupdates</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPSettings.html" class="">MainWPSettings</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPBackups.html" class="">MainWPBackups</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPBackups-Continue.html" class="">Continue</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPBootstrap.html" class="">MainWPBootstrap</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPUpdates.html" class="">MainWPUpdates</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPUpdates-Check.html" class="">Check</a>
</li>
<li>
<a href="packages/MainWPUpdates-Overview.html" class="">Overview</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPPingChilds.html" class="">MainWPPingChilds</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPStats.html" class="">MainWPStats</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPExtensions.html" class="">MainWPExtensions</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPSecurtiy.html" class="">MainWPSecurtiy</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPSecurtiy-Issues.html" class="">Issues</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPSetup.html" class="">MainWPSetup</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPSetup-Wizard.html" class="">Wizard</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPSite.html" class="">MainWPSite</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPSite-Open.html" class="">Open</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPThemes.html" class="">MainWPThemes</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPUser.html" class="">MainWPUser</a>
</h4>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPWidget.html" class="">MainWPWidget</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWPWidget-Mainwp.html" class="">Mainwp</a>
</li>
<li>
<a href="packages/MainWPWidget-Recent.html" class="">Recent</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPPlugins.html" class="">MainWPPlugins</a>
</h4>
</section>
<section class="phpdocumentor-sidebar__category -reports">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category -indices">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp.html">MainWP</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp-dashboard.html">Dashboard</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
MainWP_Manage_Sites_View
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP.html">MainWP</a></li>
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-Dashboard.html">Dashboard</a></li>
</ul>
</div>
</h2>
<div class="phpdocumentor-label-line">
</div>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">15</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.15" class="phpdocumentor-element-found-in__source" data-line="15" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Class MainWP_Manage_Sites_View</p>
<h3 id="toc">
Table of Contents
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-methods">
Methods
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_site">add_site()</a>
<span>
&nbsp;: self </span>
</dt>
<dd>Method add_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_wp_site">add_wp_site()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Medthod add_wp_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_left_menu">init_left_menu()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method init_left_menu()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_menu">init_menu()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method init_menu()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_subpages_menu">init_subpages_menu()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method init_subpages_menu()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_m_reconnect_site">m_reconnect_site()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method m_reconnect_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_dashboard">render_dashboard()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method render_dashboard()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site">render_edit_site()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method render_edit_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site_email_settings">render_edit_site_email_settings()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Render all email settings options.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_template">render_edit_template()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Render the email notification edit form.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_footer">render_footer()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_footer()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header">render_header()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_header()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header_tabs">render_header_tabs()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_header_tabs()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_import_sites">render_import_sites()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_import_sites()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_scan_site">render_scan_site()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_scan_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_site_edit_email_settings">render_site_edit_email_settings()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Render single site Email notification settings.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_sync_exts_settings">render_sync_exts_settings()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_sync_exts_settings()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_update_wp_site">update_wp_site()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Method update_wp_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_managesites_header">render_managesites_header()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method render_managesites_header()</dd>
</dl>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_add_site">
add_site()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_site" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">2030</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.2030" class="phpdocumentor-element-found-in__source" data-line="2030" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method add_site()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">add_site</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$website</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$output</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Add Child Site.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Child Site.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$output</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Output values.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">self</span>
&mdash;
<section class="phpdocumentor-description"><p>add_wp_site()</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_add_wp_site">
add_wp_site()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_wp_site" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">2077</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.2077" class="phpdocumentor-element-found-in__source" data-line="2077" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Medthod add_wp_site()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">add_wp_site</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$output</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Add new Child Site.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Child Site.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$params</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array of new Child Site to add.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$output</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Output values.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_wp_site#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Connect.html#method_fetch_url_authed"><abbr title="\MainWP\Dashboard\MainWP_Connect::fetch_url_authed()">MainWP_Connect::fetch_url_authed()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB-Common.html#method_get_group_by_name"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::get_group_by_name()">MainWP_DB_Common::get_group_by_name()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_add_website"><abbr title="\MainWP\Dashboard\MainWP_DB::add_website()">MainWP_DB::add_website()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_get_website_by_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_website_by_id()">MainWP_DB::get_website_by_id()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Exception.html"><abbr title="\MainWP\Dashboard\MainWP_Exception">MainWP_Exception</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Sync.html#method_sync_information_array"><abbr title="\MainWP\Dashboard\MainWP_Sync::sync_information_array()">MainWP_Sync::sync_information_array()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_get_openssl_conf"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::get_openssl_conf()">MainWP_System_Utility::get_openssl_conf()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_content"><abbr title="\MainWP\Dashboard\MainWP_Utility::esc_content()">MainWP_Utility::esc_content()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_hook_add_site"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_add_site()">MainWP_Hooks::hook_add_site()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
&mdash;
<section class="phpdocumentor-description"><p>$message, $error, $id</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_init_left_menu">
init_left_menu()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_left_menu" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">94</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.94" class="phpdocumentor-element-found-in__source" data-line="94" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method init_left_menu()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">init_left_menu</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPages</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Initiate left Sites menu.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$subPages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Sub pages array.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_left_menu#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Menu.html#method_add_left_menu"><abbr title="\MainWP\Dashboard\MainWP_Menu::add_left_menu()">MainWP_Menu::add_left_menu()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Menu.html#method_init_subpages_left_menu"><abbr title="\MainWP\Dashboard\MainWP_Menu::init_subpages_left_menu()">MainWP_Menu::init_subpages_left_menu()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Menu.html#method_is_disable_menu_item"><abbr title="\MainWP\Dashboard\MainWP_Menu::is_disable_menu_item()">MainWP_Menu::is_disable_menu_item()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_init_menu"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::init_menu()">MainWP_Manage_Sites::init_menu()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_init_menu">
init_menu()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_menu" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">27</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.27" class="phpdocumentor-element-found-in__source" data-line="27" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method init_menu()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">init_menu</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Initiate Sites sub menu.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_menu#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">@return</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>add_submenu_page()</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_get_class_name"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::get_class_name()">MainWP_Manage_Sites::get_class_name()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_init_menu"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::init_menu()">MainWP_Manage_Sites::init_menu()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_init_subpages_menu">
init_subpages_menu()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_subpages_menu" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">45</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.45" class="phpdocumentor-element-found-in__source" data-line="45" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method init_subpages_menu()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">init_subpages_menu</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$subPages</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$subPages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Sub pages array.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_subpages_menu#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Menu.html#method_is_disable_menu_item"><abbr title="\MainWP\Dashboard\MainWP_Menu::is_disable_menu_item()">MainWP_Menu::is_disable_menu_item()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_init_subpages_menu"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::init_subpages_menu()">MainWP_Manage_Sites::init_subpages_menu()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_m_reconnect_site">
m_reconnect_site()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_m_reconnect_site" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1877</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.1877" class="phpdocumentor-element-found-in__source" data-line="1877" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method m_reconnect_site()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">m_reconnect_site</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$sync_first</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Reconnect child site.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The website object.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$sync_first</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>True try to sync before reconnect.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$params</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>others params.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_m_reconnect_site#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\MainWP_Exception">MainWP_Exception</abbr></span>
<section class="phpdocumentor-description"><p>Exception On errors.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Connect.html#method_fetch_url_authed"><abbr title="\MainWP\Dashboard\MainWP_Connect::fetch_url_authed()">MainWP_Connect::fetch_url_authed()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_update_website_values"><abbr title="\MainWP\Dashboard\MainWP_DB::update_website_values()">MainWP_DB::update_website_values()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Exception.html"><abbr title="\MainWP\Dashboard\MainWP_Exception">MainWP_Exception</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Sync.html#method_sync_information_array"><abbr title="\MainWP\Dashboard\MainWP_Sync::sync_information_array()">MainWP_Sync::sync_information_array()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Sync.html#method_sync_site"><abbr title="\MainWP\Dashboard\MainWP_Sync::sync_site()">MainWP_Sync::sync_site()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_get_openssl_conf"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::get_openssl_conf()">MainWP_System_Utility::get_openssl_conf()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_can_edit_website"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::can_edit_website()">MainWP_System_Utility::can_edit_website()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_content"><abbr title="\MainWP\Dashboard\MainWP_Utility::esc_content()">MainWP_Utility::esc_content()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Cron-Jobs.html#method_cron_reconnect"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_reconnect()">MainWP_System_Cron_Jobs::cron_reconnect()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-WP-CLI-Command.html#method_reconnect"><abbr title="\MainWP\Dashboard\MainWP_WP_CLI_Command::reconnect()">MainWP_WP_CLI_Command::reconnect()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-Handler.html#method_reconnect_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_Handler::reconnect_site()">MainWP_Manage_Sites_Handler::reconnect_site()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>true|false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_dashboard">
render_dashboard()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_dashboard" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">651</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.651" class="phpdocumentor-element-found-in__source" data-line="651" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_dashboard()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_dashboard</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$website</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render individual Child Site Overview page.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Child Site.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_dashboard#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Overview.html#method_render_dashboard_body"><abbr title="\MainWP\Dashboard\MainWP_Overview::render_dashboard_body()">MainWP_Overview::render_dashboard_body()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_dashboard"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_dashboard()">MainWP_Manage_Sites::render_dashboard()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>Sites Overview Page.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_edit_site">
render_edit_site()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">851</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.851" class="phpdocumentor-element-found-in__source" data-line="851" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_edit_site()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_edit_site</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$websiteid</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$updated</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render individual Child Site Edit sub page.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$websiteid</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Child Site ID.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$updated</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Site settings updated check.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB-Common.html#method_get_groups_for_current_user"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::get_groups_for_current_user()">MainWP_DB_Common::get_groups_for_current_user()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB-Common.html#method_get_groups_by_website_id"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::get_groups_by_website_id()">MainWP_DB_Common::get_groups_by_website_id()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_get_website_by_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_website_by_id()">MainWP_DB::get_website_by_id()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_can_edit_website"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::can_edit_website()">MainWP_System_Utility::can_edit_website()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_starts_with"><abbr title="\MainWP\Dashboard\MainWP_Utility::starts_with()">MainWP_Utility::starts_with()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_prefix"><abbr title="\MainWP\Dashboard\MainWP_Utility::remove_http_prefix()">MainWP_Utility::remove_http_prefix()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_edit_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_edit_site()">MainWP_Manage_Sites::render_edit_site()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>Edit Child Site sub page.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_edit_site_email_settings">
render_edit_site_email_settings()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site_email_settings" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1762</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.1762" class="phpdocumentor-element-found-in__source" data-line="1762" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Render all email settings options.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_edit_site_email_settings</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$updated</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Object containing the website info.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$updated</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>True if page loaded after update, false if not.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site_email_settings#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_get_notification_types"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::get_notification_types()">MainWP_Notification_Settings::get_notification_types()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_get_default_emails_fields"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::get_default_emails_fields()">MainWP_Notification_Settings::get_default_emails_fields()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_get_settings_desc"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::get_settings_desc()">MainWP_Notification_Settings::get_settings_desc()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_get_notification_email"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::get_notification_email()">MainWP_System_Utility::get_notification_email()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_edit_template">
render_edit_template()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_template" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1672</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.1672" class="phpdocumentor-element-found-in__source" data-line="1672" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Render the email notification edit form.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_edit_template</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$siteid</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Credits.</p>
<p>Plugin-Name: WooCommerce.
Plugin URI: https://woocommerce.com/.
Author: Automattic.
Author URI: https://woocommerce.com.
License: GPLv3 or later.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$type</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Email type.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$siteid</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Child site ID.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_template#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Template.html#method_get_template_name_by_notification_type"><abbr title="\MainWP\Dashboard\MainWP_Notification_Template::get_template_name_by_notification_type()">MainWP_Notification_Template::get_template_name_by_notification_type()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Template.html#method_get_default_templates_dir"><abbr title="\MainWP\Dashboard\MainWP_Notification_Template::get_default_templates_dir()">MainWP_Notification_Template::get_default_templates_dir()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Template.html#method_get_custom_templates_dir"><abbr title="\MainWP\Dashboard\MainWP_Notification_Template::get_custom_templates_dir()">MainWP_Notification_Template::get_custom_templates_dir()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_render_edit_settings"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::render_edit_settings()">MainWP_Notification_Settings::render_edit_settings()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_footer">
render_footer()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_footer" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">312</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.312" class="phpdocumentor-element-found-in__source" data-line="312" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_footer()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_footer</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Close the page container.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_header">
render_header()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">163</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.163" class="phpdocumentor-element-found-in__source" data-line="163" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_header()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_header</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$shownPage</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPages</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Build Sites page header.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$shownPage</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Current Page.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$subPages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Sites subpages.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Connect.html#method_get_favico_url"><abbr title="\MainWP\Dashboard\MainWP_Connect::get_favico_url()">MainWP_Connect::get_favico_url()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_get_website_by_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_website_by_id()">MainWP_DB::get_website_by_id()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-UI.html#method_render_top_header"><abbr title="\MainWP\Dashboard\MainWP_UI::render_top_header()">MainWP_UI::render_top_header()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-UI.html#method_render_second_top_header"><abbr title="\MainWP\Dashboard\MainWP_UI::render_second_top_header()">MainWP_UI::render_second_top_header()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_header"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_header()">MainWP_Manage_Sites::render_header()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_header_tabs">
render_header_tabs()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header_tabs" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">685</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.685" class="phpdocumentor-element-found-in__source" data-line="685" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_header_tabs()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_header_tabs</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$active_tab</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$active_text</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$show_language_updates</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render Sites sub page header tabs.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$active_tab</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Currently active tab.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$active_text</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Currently active drop down text.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$show_language_updates</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Whether or not to show translations.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header_tabs#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-Update-View.html#method_render_individual_updates"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_Update_View::render_individual_updates()">MainWP_Manage_Sites_Update_View::render_individual_updates()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_import_sites">
render_import_sites()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_import_sites" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">386</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.386" class="phpdocumentor-element-found-in__source" data-line="386" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_import_sites()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_import_sites</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render import sites dialog.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_import_sites#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_get_wp_file_system"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::get_wp_file_system()">MainWP_System_Utility::get_wp_file_system()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_starts_with"><abbr title="\MainWP\Dashboard\MainWP_Utility::starts_with()">MainWP_Utility::starts_with()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_bulk_new_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_bulk_new_site()">MainWP_Manage_Sites::render_bulk_new_site()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_import_sites_modal"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_import_sites_modal()">MainWP_Manage_Sites::render_import_sites_modal()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Setup-Wizard.html#method_mwp_setup_connect_first_site"><abbr title="\MainWP\Dashboard\MainWP_Setup_Wizard::mwp_setup_connect_first_site()">MainWP_Setup_Wizard::mwp_setup_connect_first_site()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_scan_site">
render_scan_site()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_scan_site" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">742</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.742" class="phpdocumentor-element-found-in__source" data-line="742" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_scan_site()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_scan_site</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__reference-operator">&amp;</span><span class="phpdocumentor-signature__argument__name">$website</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render Site Hardening sub page.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Child Site.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_scan_site#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_get_website_by_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_website_by_id()">MainWP_DB::get_website_by_id()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_scan_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_scan_site()">MainWP_Manage_Sites::render_scan_site()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_site_edit_email_settings">
render_site_edit_email_settings()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_site_edit_email_settings" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1519</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.1519" class="phpdocumentor-element-found-in__source" data-line="1519" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Render single site Email notification settings.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_site_edit_email_settings</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$website</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$updated_templ</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Credits.</p>
<p>Plugin-Name: WooCommerce.
Plugin URI: https://woocommerce.com/.
Author: Automattic.
Author URI: https://woocommerce.com.
License: GPLv3 or later.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$website</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Object containng the website info.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$type</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Email type.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$updated_templ</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>True if page loaded after update, false if not.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_site_edit_email_settings#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_get_notification_types"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::get_notification_types()">MainWP_Notification_Settings::get_notification_types()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_get_default_emails_fields"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::get_default_emails_fields()">MainWP_Notification_Settings::get_default_emails_fields()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_get_settings_desc"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::get_settings_desc()">MainWP_Notification_Settings::get_settings_desc()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Settings.html#method_render_update_template_message"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::render_update_template_message()">MainWP_Notification_Settings::render_update_template_message()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Template.html#method_get_template_name_by_notification_type"><abbr title="\MainWP\Dashboard\MainWP_Notification_Template::get_template_name_by_notification_type()">MainWP_Notification_Template::get_template_name_by_notification_type()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Notification-Template.html#method_is_overrided_template"><abbr title="\MainWP\Dashboard\MainWP_Notification_Template::is_overrided_template()">MainWP_Notification_Template::is_overrided_template()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_email_settings"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_email_settings()">MainWP_Manage_Sites::render_email_settings()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_sync_exts_settings">
render_sync_exts_settings()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_sync_exts_settings" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">574</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.574" class="phpdocumentor-element-found-in__source" data-line="574" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_sync_exts_settings()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_sync_exts_settings</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render sync extension settings.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_sync_exts_settings#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Extensions-View.html#method_get_available_extensions"><abbr title="\MainWP\Dashboard\MainWP_Extensions_View::get_available_extensions()">MainWP_Extensions_View::get_available_extensions()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Extensions-Handler.html#method_get_indexed_extensions_infor"><abbr title="\MainWP\Dashboard\MainWP_Extensions_Handler::get_indexed_extensions_infor()">MainWP_Extensions_Handler::get_indexed_extensions_infor()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_new_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_new_site()">MainWP_Manage_Sites::render_new_site()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites.html#method_render_new_site_add_new_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::render_new_site_add_new_site()">MainWP_Manage_Sites::render_new_site_add_new_site()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_update_wp_site">
update_wp_site()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_update_wp_site" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">2314</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.2314" class="phpdocumentor-element-found-in__source" data-line="2314" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method update_wp_site()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">update_wp_site</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$params</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Update Child Site.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$params</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Udate parameters.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_update_wp_site#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\MainWP_Exception">MainWP_Exception</abbr></span>
<section class="phpdocumentor-description"><p>Error message.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-System-Utility.html#method_can_edit_website"><abbr title="\MainWP\Dashboard\MainWP_System_Utility::can_edit_website()">MainWP_System_Utility::can_edit_website()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ctype_digit"><abbr title="\MainWP\Dashboard\MainWP_Utility::ctype_digit()">MainWP_Utility::ctype_digit()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_hook_add_site"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_add_site()">MainWP_Hooks::hook_add_site()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Hooks.html#method_mainwp_edit_site"><abbr title="\MainWP\Dashboard\MainWP_Hooks::mainwp_edit_site()">MainWP_Hooks::mainwp_edit_site()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
&mdash;
<section class="phpdocumentor-description"><p>Child Site ID on success and return 0 on failure.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="method_render_managesites_header">
render_managesites_header()
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_managesites_header" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-manage-sites-view.php"><a href="files/class-class-mainwp-manage-sites-view.html"><abbr title="class/class-mainwp-manage-sites-view.php">class-mainwp-manage-sites-view.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">330</span>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#source-view.330" class="phpdocumentor-element-found-in__source" data-line="330" data-modal="source-view" data-src="files/class/class-mainwp-manage-sites-view.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method render_managesites_header()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">render_managesites_header</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$site_pages</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$managesites_pages</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPages</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$site_id</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$shownPage</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Render manage sites header.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$site_pages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>site pages.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$managesites_pages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>manage site pages.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$subPages</span>
: <span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>sub pages.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$site_id</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Site id.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$shownPage</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Current Page.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_managesites_header#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Menu.html#method_is_disable_menu_item"><abbr title="\MainWP\Dashboard\MainWP_Menu::is_disable_menu_item()">MainWP_Menu::is_disable_menu_item()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-UI.html#method_render_page_navigation"><abbr title="\MainWP\Dashboard\MainWP_UI::render_page_navigation()">MainWP_UI::render_page_navigation()</abbr></a></span>
</dd>
</dl>
</article>
</section>
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-manage-sites-view.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
</div>
</div>
<script type="text/javascript">
(function () {
function loadExternalCodeSnippet(el, url, line) {
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
const language = 'php';
const code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState !== 4) {
return;
}
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
return;
}
if (xhr.status === 404) {
code.textContent = '✖ Error: File could not be found';
return;
}
if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
return;
}
code.textContent = '✖ Error: An unknown error occurred';
};
xhr.send(null);
});
}
const modalButtons = document.querySelectorAll("[data-modal]");
const openedAsLocalFile = window.location.protocol === 'file:';
if (modalButtons.length > 0 && openedAsLocalFile) {
console.warn(
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
'browsers block XHR requests when a page is opened this way'
);
}
modalButtons.forEach(function (trigger) {
if (openedAsLocalFile) {
trigger.setAttribute("hidden", "hidden");
}
trigger.addEventListener("click", function (event) {
event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
if (!modal) {
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
return;
}
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
})();
</script>
</article>
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_site">add_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_add_wp_site">add_wp_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_left_menu">init_left_menu()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_menu">init_menu()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_init_subpages_menu">init_subpages_menu()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_m_reconnect_site">m_reconnect_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_dashboard">render_dashboard()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site">render_edit_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_site_email_settings">render_edit_site_email_settings()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_edit_template">render_edit_template()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_footer">render_footer()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header">render_header()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_header_tabs">render_header_tabs()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_import_sites">render_import_sites()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_scan_site">render_scan_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_site_edit_email_settings">render_site_edit_email_settings()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_sync_exts_settings">render_sync_exts_settings()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_update_wp_site">update_wp_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#method_render_managesites_header">render_managesites_header()</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
<a href="classes/MainWP-Dashboard-MainWP-Manage-Sites-View.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>