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

8044 lines
484 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_Utility
<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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">17</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.17" class="phpdocumentor-element-found-in__source" data-line="17" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Class MainWP_Utility</p>
<h3 id="toc">
Table of Contents
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-properties">
Properties
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#property_disabled_functions">$disabled_functions</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Store the disabled php functions.</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#property_enabled_wp_seo">$enabled_wp_seo</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Yoast SEO is enabled return true else return null.</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#property_last_deactivated_alerts">$last_deactivated_alerts</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Private static variable.</dd>
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#property_instance">$instance</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Private static variable to hold the single instance of the class.</dd>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/MainWP-Dashboard-MainWP-Utility.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-Utility.html#method_array_merge">array_merge()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method array_merge()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_numeric_filter">array_numeric_filter()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method array_numeric_filter()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_sort">array_sort()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method array_sort()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_sort_existed_keys">array_sort_existed_keys()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method array_sort_existed_keys()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_abandoned">check_abandoned()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method check_abandoned()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_image_file_name">check_image_file_name()</a>
<span>
&nbsp;: true|false </span>
</dt>
<dd>Method check_image_file_name()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_create_site_nonce">create_site_nonce()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method create_site_nonce()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ctype_digit">ctype_digit()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method ctype_digit()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_date">date()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method date()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_file">delete_file()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Metho delete_file().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_saved_favicon">delete_saved_favicon()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method delete_saved_favicon()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_uploaded_icon_file">delete_uploaded_icon_file()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Delete icon file.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_enabled_wp_seo">enabled_wp_seo()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method enabled_wp_seo()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_end_session">end_session()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Method end_session()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ends_with">ends_with()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method ends_with()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_content">esc_content()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method esc_content()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_mixed_content">esc_mixed_content()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method esc_mixed_content()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_date">format_date()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method format_timestamp()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_duration_time">format_duration_time()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Format duration time to show.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_time">format_time()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method format_time()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_timestamp">format_timestamp()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method format_timestamp()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_class_name">get_class_name()</a>
<span>
&nbsp;: object </span>
</dt>
<dd>Method get_class_name()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_dir_slug">get_dir_slug()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Get directory or slug of plugin.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_disable_functions">get_disable_functions()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_disable_functions()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_flash_message">get_flash_message()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method get_flash_message()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_hide_notice_status">get_hide_notice_status()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_hide_notice_status()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_http_codes">get_http_codes()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Get HTTP code.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_language_code_as_flag">get_language_code_as_flag()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Returns language as flag.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_nice_url">get_nice_url()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_nice_url()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_remote_favicon">get_remote_favicon()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_remote_favicon().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_saved_favicon_url">get_saved_favicon_url()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_saved_favicon_url()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_set_deactivated_licenses_alerted">get_set_deactivated_licenses_alerted()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method get_set_deactivated_licenses_alerted().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_health">get_site_health()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Get Health Site value.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_index_option_icon">get_site_index_option_icon()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Returns icon for the site indexability status.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_siteview_mode">get_siteview_mode()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Metho get_siteview_mode().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_sub_array_having">get_sub_array_having()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_sub_array_having()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_sub_array_with_limit">get_sub_array_with_limit()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_sub_array_with_limit()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_table_orders">get_table_orders()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_table_orders().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_timestamp">get_timestamp()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_timestamp()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_hook_verify_ping_nonce">hook_verify_ping_nonce()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method hook_verify_ping_nonce()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_human_filesize">human_filesize()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method human_filesize()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_instance">instance()</a>
<span>
&nbsp;: <a href="classes/MainWP-Dashboard-MainWP-Utility.html"><abbr title="\MainWP\Dashboard\MainWP_Utility">MainWP_Utility</abbr></a> </span>
</dt>
<dd>Method instance()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_disabled_functions">is_disabled_functions()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method is_disable_functions()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_domain_valid">is_domain_valid()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_domain_valid()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_fields">map_fields()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method map_fields()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_site">map_site()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method map_site()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_multi_find_keywords">multi_find_keywords()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Find for multi keywords.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_numeric_filter">numeric_filter()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method numeric_filter()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_parse_html_error_message">parse_html_error_message()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method parse_html_error_message()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_prefix">remove_http_prefix()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method remove_http_prefix()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_www_prefix">remove_http_www_prefix()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method remove_http_www_prefix()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_preslash_spaces">remove_preslash_spaces()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method remove_preslash_spaces()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_right_array_merge">right_array_merge()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Merge values from right array to left array.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize">sanitize()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method sanitize()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_attr_slug">sanitize_attr_slug()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method sanitize_alphanumeric()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_data">sanitize_data()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Handle sanitize POST data.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_file_name">sanitize_file_name()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method sanitize_file_name()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_short_number_format">short_number_format()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns number in shorter format.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_show_mainwp_message">show_mainwp_message()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method show_mainwp_message()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sortmulti">sortmulti()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method sortmulti()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_starts_with">starts_with()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method starts_with()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_string_ends_by">string_ends_by()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>String ends by.</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_time_elapsed_string">time_elapsed_string()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Returns date in time ago format</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_trim_slashes">trim_slashes()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method trim_slashes()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_flash_message">update_flash_message()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method update_flash_message()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_option">update_option()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method update_option()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_user_option">update_user_option()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method update_user_option()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_valid_file_check">valid_file_check()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method valid_file_check().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_valid_input_emails">valid_input_emails()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method valid_input_emails().</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_value_to_string">value_to_string()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method value_to_string()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Dashboard-MainWP-Utility.html#method_verify_site_nonce">verify_site_nonce()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method verify_site_nonce()</dd>
</dl>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="
phpdocumentor-element
-property
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="property_disabled_functions">
$disabled_functions
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_disabled_functions" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">51</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.51" class="phpdocumentor-element-found-in__source" data-line="51" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Store the disabled php functions.</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__type">string</span>
<span class="phpdocumentor-signature__name">$disabled_functions</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>disabled php functions.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_disabled_functions#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">static</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
</article>
<article
class="
phpdocumentor-element
-property
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="property_enabled_wp_seo">
$enabled_wp_seo
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_enabled_wp_seo" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">25</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.25" class="phpdocumentor-element-found-in__source" data-line="25" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Yoast SEO is enabled return true else return null.</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__type">bool</span>
<span class="phpdocumentor-signature__name">$enabled_wp_seo</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>If Yoast SEO is enabled return true else return null.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_enabled_wp_seo#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">static</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
</article>
<article
class="
phpdocumentor-element
-property
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="property_last_deactivated_alerts">
$last_deactivated_alerts
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_last_deactivated_alerts" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">34</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.34" class="phpdocumentor-element-found-in__source" data-line="34" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Private static variable.</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__type">mixed</span>
<span class="phpdocumentor-signature__name">$last_deactivated_alerts</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Default null</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_last_deactivated_alerts#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">static</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
</article>
<article
class="
phpdocumentor-element
-property
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="property_instance">
$instance
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_instance" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">43</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.43" class="phpdocumentor-element-found-in__source" data-line="43" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Private static variable to hold the single instance of the class.</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__type">mixed</span>
<span class="phpdocumentor-signature__name">$instance</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Default null</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_instance#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">static</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/MainWP-Dashboard-MainWP-Utility.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_array_merge">
array_merge()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_merge" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">542</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.542" class="phpdocumentor-element-found-in__source" data-line="542" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method array_merge()</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">array_merge</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$arr1</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">$arr2</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>Merge two given arrays into one.</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">$arr1</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>First array.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$arr2</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Second array.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_merge#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-Format.html#method_get_update_plugins_items"><abbr title="\MainWP\Dashboard\MainWP_Format::get_update_plugins_items()">MainWP_Format::get_update_plugins_items()</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-Format.html#method_get_update_themes_items"><abbr title="\MainWP\Dashboard\MainWP_Format::get_update_themes_items()">MainWP_Format::get_update_themes_items()</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-Format.html#method_get_update_wp_items"><abbr title="\MainWP\Dashboard\MainWP_Format::get_update_wp_items()">MainWP_Format::get_update_wp_items()</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>Merged Array.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_array_numeric_filter">
array_numeric_filter()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_numeric_filter" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1079</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1079" class="phpdocumentor-element-found-in__source" data-line="1079" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method array_numeric_filter()</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">array_numeric_filter</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">$arr_ints</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>Filter given numeric array.</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">$arr_ints</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>Array to filter.</p>
</section>
</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>$arr_ints Array filtered.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_array_sort">
array_sort()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_sort" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1009</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1009" class="phpdocumentor-element-found-in__source" data-line="1009" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method array_sort()</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">array_sort</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">$arr</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">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$sort_flag</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">SORT_STRING</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>Sort given array by given flags.</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">$arr</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array to sort.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$key</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array key.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$sort_flag</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">SORT_STRING</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Flags to sort by. Default = SORT_STRING.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_array_sort_existed_keys">
array_sort_existed_keys()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_sort_existed_keys" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1032</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1032" class="phpdocumentor-element-found-in__source" data-line="1032" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method array_sort_existed_keys()</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">array_sort_existed_keys</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">$arr</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">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$sort_flag</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">SORT_STRING</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>Sort given array by given flags.</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">$arr</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array to sort.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$key</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array key.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$sort_flag</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">SORT_STRING</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Flags to sort by. Default = SORT_STRING.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_check_abandoned">
check_abandoned()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_abandoned" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1284</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1284" class="phpdocumentor-element-found-in__source" data-line="1284" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_abandoned()</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">check_abandoned</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">$siteId</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$which</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</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>Get site's icon.</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">$siteId</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>site's id.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$which</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>to check plugin/theme.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_abandoned#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>
</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>result error or success</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_check_image_file_name">
check_image_file_name()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_image_file_name" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1258</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1258" class="phpdocumentor-element-found-in__source" data-line="1258" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_image_file_name()</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">check_image_file_name</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$filename</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">true|false</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check if the file image.</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">$filename</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains image (file) name.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">true|false</span>
&mdash;
<section class="phpdocumentor-description"><p>valid name or not.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_create_site_nonce">
create_site_nonce()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_create_site_nonce" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1435</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1435" class="phpdocumentor-element-found-in__source" data-line="1435" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method create_site_nonce()</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">create_site_nonce</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">$action</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">-1</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Create action nonce for 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">$action</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">-1</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Action to perform.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$siteid</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>Site ID.</p>
</section>
</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>Custom nonce.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_ctype_digit">
ctype_digit()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ctype_digit" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">171</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.171" class="phpdocumentor-element-found-in__source" data-line="171" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method ctype_digit()</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">ctype_digit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$str</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>Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.</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">$str</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>String to check.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ctype_digit#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-DB-Backup.html#method_get_website_backup_settings"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::get_website_backup_settings()">MainWP_DB_Backup::get_website_backup_settings()</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-DB-Backup.html#method_add_backup_task"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::add_backup_task()">MainWP_DB_Backup::add_backup_task()</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-DB-Backup.html#method_update_backup_task"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_backup_task()">MainWP_DB_Backup::update_backup_task()</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-DB-Backup.html#method_update_backup_run"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_backup_run()">MainWP_DB_Backup::update_backup_run()</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-DB-Backup.html#method_update_backup_run_manually"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_backup_run_manually()">MainWP_DB_Backup::update_backup_run_manually()</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-DB-Backup.html#method_update_backup_completed"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_backup_completed()">MainWP_DB_Backup::update_backup_completed()</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-DB-Backup.html#method_update_backup_errors"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_backup_errors()">MainWP_DB_Backup::update_backup_errors()</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-DB-Backup.html#method_update_completed_sites"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_completed_sites()">MainWP_DB_Backup::update_completed_sites()</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-DB-Common.html#method_get_group_by_id"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::get_group_by_id()">MainWP_DB_Common::get_group_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-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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB-Common.html#method_add_group"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::add_group()">MainWP_DB_Common::add_group()</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-DB-Common.html#method_add_group"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::add_group()">MainWP_DB_Common::add_group()</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-DB-Common.html#method_remove_group"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::remove_group()">MainWP_DB_Common::remove_group()</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-DB-Common.html#method_update_group"><abbr title="\MainWP\Dashboard\MainWP_DB_Common::update_group()">MainWP_DB_Common::update_group()</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-DB.html#method_get_sql_websites_by_user_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_sql_websites_by_user_id()">MainWP_DB::get_sql_websites_by_user_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-DB.html#method_get_sql_website_by_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_sql_website_by_id()">MainWP_DB::get_sql_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-DB.html#method_get_sql_websites_by_group_id"><abbr title="\MainWP\Dashboard\MainWP_DB::get_sql_websites_by_group_id()">MainWP_DB::get_sql_websites_by_group_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-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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_remove_website"><abbr title="\MainWP\Dashboard\MainWP_DB::remove_website()">MainWP_DB::remove_website()</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-DB.html#method_update_website"><abbr title="\MainWP\Dashboard\MainWP_DB::update_website()">MainWP_DB::update_website()</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>
<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_get_all_posts"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_get_all_posts()">MainWP_Hooks::hook_get_all_posts()</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_upgrade_plugin_theme"><abbr title="\MainWP\Dashboard\MainWP_Hooks::upgrade_plugin_theme()">MainWP_Hooks::upgrade_plugin_theme()</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-View.html#method_update_wp_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_View::update_wp_site()">MainWP_Manage_Sites_View::update_wp_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-Post-Backup-Handler.html#method_mainwp_createbackup_getfilesize"><abbr title="\MainWP\Dashboard\MainWP_Post_Backup_Handler::mainwp_createbackup_getfilesize()">MainWP_Post_Backup_Handler::mainwp_createbackup_getfilesize()</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-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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Sync.html#method_get_wp_icon"><abbr title="\MainWP\Dashboard\MainWP_Sync::get_wp_icon()">MainWP_Sync::get_wp_icon()</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-Rest-Updates-Controller.html#method_ignore_updates_batch_items"><abbr title="\MainWP_Rest_Updates_Controller::ignore_updates_batch_items()">MainWP_Rest_Updates_Controller::ignore_updates_batch_items()</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-Bulk-Update-Admin-Passwords.html#method_render"><abbr title="\MainWP\Dashboard\MainWP_Bulk_Update_Admin_Passwords::render()">MainWP_Bulk_Update_Admin_Passwords::render()</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-Extensions-Handler.html#method_hook_get_db_sites"><abbr title="\MainWP\Dashboard\MainWP_Extensions_Handler::hook_get_db_sites()">MainWP_Extensions_Handler::hook_get_db_sites()</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-Install-Bulk.html#method_prepare_install"><abbr title="\MainWP\Dashboard\MainWP_Install_Bulk::prepare_install()">MainWP_Install_Bulk::prepare_install()</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-Install-Bulk.html#method_prepare_upload"><abbr title="\MainWP\Dashboard\MainWP_Install_Bulk::prepare_upload()">MainWP_Install_Bulk::prepare_upload()</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>
<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>
<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-Overview.html#method_on_admin_menu"><abbr title="\MainWP\Dashboard\MainWP_Overview::on_admin_menu()">MainWP_Overview::on_admin_menu()</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-Page.html#method_render_table_body"><abbr title="\MainWP\Dashboard\MainWP_Page::render_table_body()">MainWP_Page::render_table_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-Page.html#method_posting"><abbr title="\MainWP\Dashboard\MainWP_Page::posting()">MainWP_Page::posting()</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-Plugins.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_table()">MainWP_Plugins::render_table()</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-Plugins.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_table()">MainWP_Plugins::render_table()</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-Post-Page-Handler.html#method_ajax_handle_get_categories"><abbr title="\MainWP\Dashboard\MainWP_Post_Page_Handler::ajax_handle_get_categories()">MainWP_Post_Page_Handler::ajax_handle_get_categories()</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-Post-Page-Handler.html#method_posting"><abbr title="\MainWP\Dashboard\MainWP_Post_Page_Handler::posting()">MainWP_Post_Page_Handler::posting()</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-Post.html#method_render_table_body"><abbr title="\MainWP\Dashboard\MainWP_Post::render_table_body()">MainWP_Post::render_table_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-Themes.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Themes::render_table()">MainWP_Themes::render_table()</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-Updates-Handler.html#method_upgrade_site"><abbr title="\MainWP\Dashboard\MainWP_Updates_Handler::upgrade_site()">MainWP_Updates_Handler::upgrade_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-Updates-Handler.html#method_ignore_plugin_theme"><abbr title="\MainWP\Dashboard\MainWP_Updates_Handler::ignore_plugin_theme()">MainWP_Updates_Handler::ignore_plugin_theme()</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-Updates-Handler.html#method_unignore_plugin_theme"><abbr title="\MainWP\Dashboard\MainWP_Updates_Handler::unignore_plugin_theme()">MainWP_Updates_Handler::unignore_plugin_theme()</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-Updates-Handler.html#method_unignore_abandoned_plugin_theme"><abbr title="\MainWP\Dashboard\MainWP_Updates_Handler::unignore_abandoned_plugin_theme()">MainWP_Updates_Handler::unignore_abandoned_plugin_theme()</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-Updates-Handler.html#method_dismiss_plugin_theme"><abbr title="\MainWP\Dashboard\MainWP_Updates_Handler::dismiss_plugin_theme()">MainWP_Updates_Handler::dismiss_plugin_theme()</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-Updates-Handler.html#method_upgrade_plugin_theme_translation"><abbr title="\MainWP\Dashboard\MainWP_Updates_Handler::upgrade_plugin_theme_translation()">MainWP_Updates_Handler::upgrade_plugin_theme_translation()</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-User.html#method_render_table_body"><abbr title="\MainWP\Dashboard\MainWP_User::render_table_body()">MainWP_User::render_table_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-User.html#method_do_bulk_add"><abbr title="\MainWP\Dashboard\MainWP_User::do_bulk_add()">MainWP_User::do_bulk_add()</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-Client-Info.html#method_render_site_info"><abbr title="\MainWP\Dashboard\MainWP_Client_Info::render_site_info()">MainWP_Client_Info::render_site_info()</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-Notes.html#method_render"><abbr title="\MainWP\Dashboard\MainWP_Notes::render()">MainWP_Notes::render()</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-Security-Issues-Widget.html#method_render_widget"><abbr title="\MainWP\Dashboard\MainWP_Security_Issues_Widget::render_widget()">MainWP_Security_Issues_Widget::render_widget()</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-Site-Info.html#method_render_site_info"><abbr title="\MainWP\Dashboard\MainWP_Site_Info::render_site_info()">MainWP_Site_Info::render_site_info()</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>Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_date">
date()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_date" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">373</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.373" class="phpdocumentor-element-found-in__source" data-line="373" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method date()</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">date</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$format</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>Show date in given format.</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">$format</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Format to display date in.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_date#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-Backup-Handler.html#method_backup_site"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_site()">MainWP_Backup_Handler::backup_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-Backup-Handler.html#method_backup_check_pid"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_check_pid()">MainWP_Backup_Handler::backup_check_pid()</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-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</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>Date.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_delete_file">
delete_file()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_file" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1358</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1358" class="phpdocumentor-element-found-in__source" data-line="1358" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Metho delete_file().</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">delete_file</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file_path</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>Delete file.</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">$file_path</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>File path.</p>
</section>
</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_delete_saved_favicon">
delete_saved_favicon()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_saved_favicon" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1628</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1628" class="phpdocumentor-element-found-in__source" data-line="1628" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method delete_saved_favicon()</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">delete_saved_favicon</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$favi</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</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">$favi</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Favicon file name.</p>
</section>
</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>Success result.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_delete_uploaded_icon_file">
delete_uploaded_icon_file()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_uploaded_icon_file" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1647</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1647" class="phpdocumentor-element-found-in__source" data-line="1647" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Delete icon file.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">delete_uploaded_icon_file</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$sub_dir</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">$cost_icon</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">$sub_dir</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Sub dir file icon.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$cost_icon</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>file icon.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_enabled_wp_seo">
enabled_wp_seo()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_enabled_wp_seo" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1096</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1096" class="phpdocumentor-element-found-in__source" data-line="1096" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method enabled_wp_seo()</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">enabled_wp_seo</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>Check if Yoast SEO is enabled.</p>
</section>
<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_end_session">
end_session()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_end_session" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">330</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.330" class="phpdocumentor-element-found-in__source" data-line="330" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method end_session()</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">end_session</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>End a session.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_end_session#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-Backup-Handler.html#method_backup_download_file"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_download_file()">MainWP_Backup_Handler::backup_download_file()</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-Backup-Handler.html#method_backup_check_pid"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_check_pid()">MainWP_Backup_Handler::backup_check_pid()</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-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</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-Connect.html#method_fetch_url_site"><abbr title="\MainWP\Dashboard\MainWP_Connect::fetch_url_site()">MainWP_Connect::fetch_url_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-Connect.html#method_check_constraints"><abbr title="\MainWP\Dashboard\MainWP_Connect::check_constraints()">MainWP_Connect::check_constraints()</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-Post-Backup-Handler.html#method_mainwp_createbackup_getfilesize"><abbr title="\MainWP\Dashboard\MainWP_Post_Backup_Handler::mainwp_createbackup_getfilesize()">MainWP_Post_Backup_Handler::mainwp_createbackup_getfilesize()</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-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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Install-Bulk.html#method_perform_install"><abbr title="\MainWP\Dashboard\MainWP_Install_Bulk::perform_install()">MainWP_Install_Bulk::perform_install()</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-Install-Bulk.html#method_perform_upload"><abbr title="\MainWP\Dashboard\MainWP_Install_Bulk::perform_upload()">MainWP_Install_Bulk::perform_upload()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_ends_with">
ends_with()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ends_with" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">104</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.104" class="phpdocumentor-element-found-in__source" data-line="104" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method ends_with()</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">ends_with</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$haystack</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">$needle</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>End of Stack Trace.</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">$haystack</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Haystack parameter.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$needle</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Needle parameter.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ends_with#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-System-Cron-Jobs.html#method_cron_ping_childs"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_ping_childs()">MainWP_System_Cron_Jobs::cron_ping_childs()</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-Handler.html#method_upload_file"><abbr title="\MainWP\Dashboard\MainWP_System_Handler::upload_file()">MainWP_System_Handler::upload_file()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_esc_content">
esc_content()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_content" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">678</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.678" class="phpdocumentor-element-found-in__source" data-line="678" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method esc_content()</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">esc_content</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$content</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$type</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;note&#039;</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$more_allowed</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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Escape content,
allowed content (a,href,title,br,em,strong,p,hr,ul,ol,li,h1,h2 ... ).</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">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Content to escape.</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>
= <span class="phpdocumentor-signature__argument__default-value">&#039;note&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Type of content. Default = note.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$more_allowed</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>input allowed tags - options.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_content#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-Hooks.html#method_hook_escape_response"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_escape_response()">MainWP_Hooks::hook_escape_response()</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_escape_content"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_escape_content()">MainWP_Hooks::hook_escape_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-Manage-Sites-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()</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-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::single_row_columns()">MainWP_Manage_Sites_List_Table::single_row_columns()</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-View.html#method_m_reconnect_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_View::m_reconnect_site()">MainWP_Manage_Sites_View::m_reconnect_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-View.html#method_add_wp_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_View::add_wp_site()">MainWP_Manage_Sites_View::add_wp_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-Monitoring-Sites-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::single_row_columns()">MainWP_Monitoring_Sites_List_Table::single_row_columns()</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_check_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_Handler::check_site()">MainWP_Manage_Sites_Handler::check_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-Handler.html#method_save_note"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_Handler::save_note()">MainWP_Manage_Sites_Handler::save_note()</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-Page.html#method_pages_search_handler"><abbr title="\MainWP\Dashboard\MainWP_Page::pages_search_handler()">MainWP_Page::pages_search_handler()</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-Plugins-Handler.html#method_save_trusted_plugin_note"><abbr title="\MainWP\Dashboard\MainWP_Plugins_Handler::save_trusted_plugin_note()">MainWP_Plugins_Handler::save_trusted_plugin_note()</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-Plugins.html#method_render_all_active_html"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_all_active_html()">MainWP_Plugins::render_all_active_html()</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-Post.html#method_posts_search_handler"><abbr title="\MainWP\Dashboard\MainWP_Post::posts_search_handler()">MainWP_Post::posts_search_handler()</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-Themes-Handler.html#method_ignore_updates"><abbr title="\MainWP\Dashboard\MainWP_Themes_Handler::ignore_updates()">MainWP_Themes_Handler::ignore_updates()</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-Themes.html#method_render_all_themes_html"><abbr title="\MainWP\Dashboard\MainWP_Themes::render_all_themes_html()">MainWP_Themes::render_all_themes_html()</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-Client-Overview-Sites.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Client_Overview_Sites::single_row_columns()">MainWP_Client_Overview_Sites::single_row_columns()</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-Notes.html#method_render"><abbr title="\MainWP\Dashboard\MainWP_Notes::render()">MainWP_Notes::render()</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>Filtered content containing only the allowed HTML.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_esc_mixed_content">
esc_mixed_content()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_mixed_content" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">829</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.829" class="phpdocumentor-element-found-in__source" data-line="829" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method esc_mixed_content()</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">esc_mixed_content</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</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">$depth</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$more_allowed</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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Escape mixed content,
allowed content (a,href,title,br,em,strong,p,hr,ul,ol,li,h1,h2 ... ).</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">$data</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>data to escape.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$depth</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Maximum depth to walk through $data. Must be greater than 0.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$more_allowed</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">array()</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>input allowed tags - options.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_mixed_content#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>Excetpion message.</p>
</section>
</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_escape_response"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_escape_response()">MainWP_Hooks::hook_escape_response()</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>Filtered content containing only the allowed HTML.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_format_date">
format_date()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_date" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">400</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.400" class="phpdocumentor-element-found-in__source" data-line="400" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method format_timestamp()</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">format_date</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timestamp</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>Format the given timestamp.</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">$timestamp</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Timestamp to format.</p>
</section>
</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>Formatted timestamp.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_format_duration_time">
format_duration_time()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_duration_time" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">423</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.423" class="phpdocumentor-element-found-in__source" data-line="423" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Format duration time to show.</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">format_duration_time</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$time</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">$time</span>
: <span class="phpdocumentor-signature__argument__return-type">float</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>timestamp.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>result.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_format_time">
format_time()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_time" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">413</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.413" class="phpdocumentor-element-found-in__source" data-line="413" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method format_time()</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">format_time</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timestamp</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>Format the given timestamp.</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">$timestamp</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Timestamp to format.</p>
</section>
</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>Formatted timestamp.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_format_timestamp">
format_timestamp()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_timestamp" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">387</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.387" class="phpdocumentor-element-found-in__source" data-line="387" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method format_timestamp()</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">format_timestamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timestamp</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>Format the given timestamp.</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">$timestamp</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Timestamp to format.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_timestamp#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-Backup-View.html#method_show_backups"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_Backup_View::show_backups()">MainWP_Manage_Sites_Backup_View::show_backups()</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-List-Table.html#method_column_backup"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::column_backup()">MainWP_Manage_Sites_List_Table::column_backup()</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-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()</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-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::single_row_columns()">MainWP_Manage_Sites_List_Table::single_row_columns()</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-Monitoring-Sites-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::single_row_columns()">MainWP_Monitoring_Sites_List_Table::single_row_columns()</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-Monitoring-Sites-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Monitoring_Sites_List_Table::ajax_get_datatable_rows()</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-Backups-Handler.html#method_execute_backup_task"><abbr title="\MainWP\Dashboard\MainWP_Manage_Backups_Handler::execute_backup_task()">MainWP_Manage_Backups_Handler::execute_backup_task()</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-Backups.html#method_column_details"><abbr title="\MainWP\Dashboard\MainWP_Manage_Backups::column_details()">MainWP_Manage_Backups::column_details()</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-Page.html#method_pages_search_handler"><abbr title="\MainWP\Dashboard\MainWP_Page::pages_search_handler()">MainWP_Page::pages_search_handler()</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-Post.html#method_posts_search_handler"><abbr title="\MainWP\Dashboard\MainWP_Post::posts_search_handler()">MainWP_Post::posts_search_handler()</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-Server-Information.html#method_render_cron"><abbr title="\MainWP\Dashboard\MainWP_Server_Information::render_cron()">MainWP_Server_Information::render_cron()</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-Settings.html#method_get_websites_automatic_update_time"><abbr title="\MainWP\Dashboard\MainWP_Settings::get_websites_automatic_update_time()">MainWP_Settings::get_websites_automatic_update_time()</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-Client-Overview-Sites.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Client_Overview_Sites::single_row_columns()">MainWP_Client_Overview_Sites::single_row_columns()</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-Connection-Status.html#method_render_sites"><abbr title="\MainWP\Dashboard\MainWP_Connection_Status::render_sites()">MainWP_Connection_Status::render_sites()</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-Recent-Pages.html#method_render_published_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_published_posts()">MainWP_Recent_Pages::render_published_posts()</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-Recent-Pages.html#method_render_draft_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_draft_posts()">MainWP_Recent_Pages::render_draft_posts()</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-Recent-Pages.html#method_render_pending_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_pending_posts()">MainWP_Recent_Pages::render_pending_posts()</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-Recent-Pages.html#method_render_future_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_future_posts()">MainWP_Recent_Pages::render_future_posts()</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-Recent-Pages.html#method_render_trash_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_trash_posts()">MainWP_Recent_Pages::render_trash_posts()</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-Recent-Posts.html#method_render_published_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_published_posts()">MainWP_Recent_Posts::render_published_posts()</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-Recent-Posts.html#method_render_draft_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_draft_posts()">MainWP_Recent_Posts::render_draft_posts()</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-Recent-Posts.html#method_render_pending_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_pending_posts()">MainWP_Recent_Posts::render_pending_posts()</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-Recent-Posts.html#method_render_future_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_future_posts()">MainWP_Recent_Posts::render_future_posts()</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-Recent-Posts.html#method_render_trash_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_trash_posts()">MainWP_Recent_Posts::render_trash_posts()</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-Updates-Overview.html#method_render_sites"><abbr title="\MainWP\Dashboard\MainWP_Updates_Overview::render_sites()">MainWP_Updates_Overview::render_sites()</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>Formatted timestamp.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_class_name">
get_class_name()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_class_name" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">60</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.60" class="phpdocumentor-element-found-in__source" data-line="60" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_class_name()</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">get_class_name</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get Class Name.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">object</span>
&mdash;
<section class="phpdocumentor-description"><p><strong>CLASS</strong></p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_dir_slug">
get_dir_slug()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_dir_slug" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1318</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1318" class="phpdocumentor-element-found-in__source" data-line="1318" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Get directory or slug of plugin.</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">get_dir_slug</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$slug</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</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">$slug</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Plugin slug.</p>
</section>
</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>$value directory or slug of plugin.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_get_disable_functions">
get_disable_functions()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_disable_functions" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1383</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1383" class="phpdocumentor-element-found-in__source" data-line="1383" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_disable_functions()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">get_disable_functions</span><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>Get disable functions.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_flash_message">
get_flash_message()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_flash_message" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">959</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.959" class="phpdocumentor-element-found-in__source" data-line="959" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_flash_message()</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">get_flash_message</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$message_id</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">$delete</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</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>Get saved flash Message.</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">$message_id</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Notice ID.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$delete</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 to delete the message after get it.</p>
</section>
</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_get_hide_notice_status">
get_hide_notice_status()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_hide_notice_status" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">938</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.938" class="phpdocumentor-element-found-in__source" data-line="938" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_hide_notice_status()</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">get_hide_notice_status</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$notice_id</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>Check whenther or not to show the MainWP Message.</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">$notice_id</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Notice ID.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>true|false|time.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_http_codes">
get_http_codes()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_http_codes" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1170</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1170" class="phpdocumentor-element-found-in__source" data-line="1170" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Get HTTP code.</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">get_http_codes</span><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">$code</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">array&lt;string|int, mixed&gt;</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">$code</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>HTTP code.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_http_codes#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-Connect.html#method_try_visit"><abbr title="\MainWP\Dashboard\MainWP_Connect::try_visit()">MainWP_Connect::try_visit()</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-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()</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-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::single_row_columns()">MainWP_Manage_Sites_List_Table::single_row_columns()</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-Monitoring-Sites-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::single_row_columns()">MainWP_Monitoring_Sites_List_Table::single_row_columns()</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-Monitoring-Sites-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Monitoring_Sites_List_Table::ajax_get_datatable_rows()</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_start_notification_http_check"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::start_notification_http_check()">MainWP_System_Cron_Jobs::start_notification_http_check()</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-Settings.html#method_render"><abbr title="\MainWP\Dashboard\MainWP_Settings::render()">MainWP_Settings::render()</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-Client-Overview-Sites.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Client_Overview_Sites::single_row_columns()">MainWP_Client_Overview_Sites::single_row_columns()</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>$http_codes HTTP code.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_language_code_as_flag">
get_language_code_as_flag()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_language_code_as_flag" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1806</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1806" class="phpdocumentor-element-found-in__source" data-line="1806" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Returns language as flag.</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">get_language_code_as_flag</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$language</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</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">$language</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Language code.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_nice_url">
get_nice_url()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_nice_url" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">123</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.123" class="phpdocumentor-element-found-in__source" data-line="123" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_nice_url()</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">get_nice_url</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$pUrl</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">$showHttp</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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Grab url.</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">$pUrl</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Website URL.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$showHttp</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>Show HTTP.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_nice_url#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-Backup-Handler.html#method_backup_check_pid"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_check_pid()">MainWP_Backup_Handler::backup_check_pid()</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-DB.html#method_get_sites"><abbr title="\MainWP\Dashboard\MainWP_DB::get_sites()">MainWP_DB::get_sites()</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-Logger.html#method_debug_for_website"><abbr title="\MainWP\Dashboard\MainWP_Logger::debug_for_website()">MainWP_Logger::debug_for_website()</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-Logger.html#method_info_for_website"><abbr title="\MainWP\Dashboard\MainWP_Logger::info_for_website()">MainWP_Logger::info_for_website()</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-View.html#method_render_footer_content"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_footer_content()">MainWP_System_View::render_footer_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-Extensions-Handler.html#method_hook_get_sites"><abbr title="\MainWP\Dashboard\MainWP_Extensions_Handler::hook_get_sites()">MainWP_Extensions_Handler::hook_get_sites()</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-Backups-Handler.html#method_execute_backup_task"><abbr title="\MainWP\Dashboard\MainWP_Manage_Backups_Handler::execute_backup_task()">MainWP_Manage_Backups_Handler::execute_backup_task()</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-Groups.html#method_get_website_list_content"><abbr title="\MainWP\Dashboard\MainWP_Manage_Groups::get_website_list_content()">MainWP_Manage_Groups::get_website_list_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-Plugins.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_table()">MainWP_Plugins::render_table()</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-Plugins.html#method_render_all_active_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_all_active_table()">MainWP_Plugins::render_all_active_table()</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-Themes.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Themes::render_table()">MainWP_Themes::render_table()</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-Themes.html#method_render_all_themes_table"><abbr title="\MainWP\Dashboard\MainWP_Themes::render_all_themes_table()">MainWP_Themes::render_all_themes_table()</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>$url.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_remote_favicon">
get_remote_favicon()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_remote_favicon" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1538</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1538" class="phpdocumentor-element-found-in__source" data-line="1538" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_remote_favicon().</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">get_remote_favicon</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$url</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$favi</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">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$item_id</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">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file_prefix</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span><span> ]</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">$url</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Url.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$favi</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>favicon file name.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$item_id</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>item id.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$file_prefix</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>favicon file prefix name.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>result.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_saved_favicon_url">
get_saved_favicon_url()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_saved_favicon_url" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1608</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1608" class="phpdocumentor-element-found-in__source" data-line="1608" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_saved_favicon_url()</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">get_saved_favicon_url</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$favi</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">$favi</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Favicon file name.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>$faviurl Favicon URL.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_get_set_deactivated_licenses_alerted">
get_set_deactivated_licenses_alerted()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_set_deactivated_licenses_alerted" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1513</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1513" class="phpdocumentor-element-found-in__source" data-line="1513" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_set_deactivated_licenses_alerted().</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">get_set_deactivated_licenses_alerted</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$slug</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">$time_value</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">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$act</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;get&#039;</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>
<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">$slug</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Extension slug.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$time_value</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>Time value.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$act</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;get&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>get/set value.</p>
</section>
</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>$result result array.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_site_health">
get_site_health()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_health" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1129</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1129" class="phpdocumentor-element-found-in__source" data-line="1129" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Get Health Site value.</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">get_site_health</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$issue_counts</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>
<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">$issue_counts</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Health site issues.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_health#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-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()</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-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::single_row_columns()">MainWP_Manage_Sites_List_Table::single_row_columns()</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-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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Client-Overview-Sites.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Client_Overview_Sites::single_row_columns()">MainWP_Client_Overview_Sites::single_row_columns()</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>Health status value.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_site_index_option_icon">
get_site_index_option_icon()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_index_option_icon" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1829</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1829" class="phpdocumentor-element-found-in__source" data-line="1829" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Returns icon for the site indexability status.</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">get_site_index_option_icon</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$status</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">$status</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Status, 1 or 0.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_index_option_icon#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>void.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_siteview_mode">
get_siteview_mode()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_siteview_mode" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1340</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1340" class="phpdocumentor-element-found-in__source" data-line="1340" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Metho get_siteview_mode().</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">get_siteview_mode</span><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>Get site view mode.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>$viewmode Site view mode.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_sub_array_having">
get_sub_array_having()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_sub_array_having" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">235</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.235" class="phpdocumentor-element-found-in__source" data-line="235" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_sub_array_having()</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">get_sub_array_having</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$arr</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">$index</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">$value</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>Get sub array.</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">$arr</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array to traverse.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$index</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Index of array.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array values.</p>
<p>void array $output Sub array.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_sub_array_with_limit">
get_sub_array_with_limit()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_sub_array_with_limit" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">260</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.260" class="phpdocumentor-element-found-in__source" data-line="260" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_sub_array_with_limit()</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">get_sub_array_with_limit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$arr</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">$start</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">$count</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>Get sub array.</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">$arr</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array to traverse.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$start</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>start index of array.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$count</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>count values.</p>
<p>void array $output Sub array.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_get_table_orders">
get_table_orders()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_table_orders" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1663</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1663" class="phpdocumentor-element-found-in__source" data-line="1663" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_table_orders().</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">get_table_orders</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">$data</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">$data</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>table data.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_timestamp">
get_timestamp()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_timestamp" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">355</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.355" class="phpdocumentor-element-found-in__source" data-line="355" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_timestamp()</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">get_timestamp</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">$timestamp</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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get time stamp in gmt_offset.</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">$timestamp</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>Time stamp to convert.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_timestamp#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-Backup-View.html#method_show_backups"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_Backup_View::show_backups()">MainWP_Manage_Sites_Backup_View::show_backups()</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-List-Table.html#method_column_backup"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::column_backup()">MainWP_Manage_Sites_List_Table::column_backup()</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-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()</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-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::single_row_columns()">MainWP_Manage_Sites_List_Table::single_row_columns()</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-Monitoring-Sites-List-Table.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::single_row_columns()">MainWP_Monitoring_Sites_List_Table::single_row_columns()</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-Monitoring-Sites-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Monitoring_Sites_List_Table::ajax_get_datatable_rows()</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-Template.html#method_get_template"><abbr title="\MainWP\Dashboard\MainWP_Notification_Template::get_template()">MainWP_Notification_Template::get_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-System-Cron-Jobs.html#method_cron_updates_check"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_updates_check()">MainWP_System_Cron_Jobs::cron_updates_check()</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-Backups.html#method_column_details"><abbr title="\MainWP\Dashboard\MainWP_Manage_Backups::column_details()">MainWP_Manage_Backups::column_details()</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-Page.html#method_pages_search_handler"><abbr title="\MainWP\Dashboard\MainWP_Page::pages_search_handler()">MainWP_Page::pages_search_handler()</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-Post.html#method_posts_search_handler"><abbr title="\MainWP\Dashboard\MainWP_Post::posts_search_handler()">MainWP_Post::posts_search_handler()</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-Server-Information.html#method_render_cron"><abbr title="\MainWP\Dashboard\MainWP_Server_Information::render_cron()">MainWP_Server_Information::render_cron()</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-Client-Overview-Sites.html#method_single_row_columns"><abbr title="\MainWP\Dashboard\MainWP_Client_Overview_Sites::single_row_columns()">MainWP_Client_Overview_Sites::single_row_columns()</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-Connection-Status.html#method_render_sites"><abbr title="\MainWP\Dashboard\MainWP_Connection_Status::render_sites()">MainWP_Connection_Status::render_sites()</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-Recent-Pages.html#method_render_published_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_published_posts()">MainWP_Recent_Pages::render_published_posts()</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-Recent-Pages.html#method_render_draft_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_draft_posts()">MainWP_Recent_Pages::render_draft_posts()</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-Recent-Pages.html#method_render_pending_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_pending_posts()">MainWP_Recent_Pages::render_pending_posts()</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-Recent-Pages.html#method_render_future_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_future_posts()">MainWP_Recent_Pages::render_future_posts()</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-Recent-Pages.html#method_render_trash_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Pages::render_trash_posts()">MainWP_Recent_Pages::render_trash_posts()</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-Recent-Posts.html#method_render_published_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_published_posts()">MainWP_Recent_Posts::render_published_posts()</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-Recent-Posts.html#method_render_draft_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_draft_posts()">MainWP_Recent_Posts::render_draft_posts()</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-Recent-Posts.html#method_render_pending_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_pending_posts()">MainWP_Recent_Posts::render_pending_posts()</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-Recent-Posts.html#method_render_future_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_future_posts()">MainWP_Recent_Posts::render_future_posts()</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-Recent-Posts.html#method_render_trash_posts"><abbr title="\MainWP\Dashboard\MainWP_Recent_Posts::render_trash_posts()">MainWP_Recent_Posts::render_trash_posts()</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>Time stamp in general mountain time offset.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_hook_verify_ping_nonce">
hook_verify_ping_nonce()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_hook_verify_ping_nonce" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1419</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1419" class="phpdocumentor-element-found-in__source" data-line="1419" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method hook_verify_ping_nonce()</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">hook_verify_ping_nonce</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$input_value</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$nonce</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">mixed&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>Verify nonce without session and user id.</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">$input_value</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Boolean value, it should always be FALSE.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$nonce</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>Nonce to verify.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$siteid</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>Site ID.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>If verified return 1 or 2, if not return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_human_filesize">
human_filesize()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_human_filesize" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">452</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.452" class="phpdocumentor-element-found-in__source" data-line="452" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method human_filesize()</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">human_filesize</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bytes</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$decimals</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">2</span><span> ]</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>Convert to human readable file size format,
(B|kB|MB|GB|TB|PB|EB|ZB|YB).</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">$bytes</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>File in bytes.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$decimals</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">2</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Number of decimals to output.</p>
</section>
</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>Human readable file size.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_instance">
instance()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_instance" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">72</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.72" class="phpdocumentor-element-found-in__source" data-line="72" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method instance()</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">instance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/MainWP-Dashboard-MainWP-Utility.html"><abbr title="\MainWP\Dashboard\MainWP_Utility">MainWP_Utility</abbr></a></span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Create public static instance.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_instance#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">static</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><a href="classes/MainWP-Dashboard-MainWP-Utility.html"><abbr title="\MainWP\Dashboard\MainWP_Utility">MainWP_Utility</abbr></a></span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_is_disabled_functions">
is_disabled_functions()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_disabled_functions" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1399</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1399" class="phpdocumentor-element-found-in__source" data-line="1399" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_disable_functions()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">is_disabled_functions</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$func</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>Check if it is disabled functions.</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">$func</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Function name to check.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_domain_valid">
is_domain_valid()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_domain_valid" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">158</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.158" class="phpdocumentor-element-found-in__source" data-line="158" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_domain_valid()</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">is_domain_valid</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$url</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>Check $url against FILTER_VALIDATE_URL.</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">$url</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Domain to check.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_domain_valid#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-Connect.html#method_check_website_status"><abbr title="\MainWP\Dashboard\MainWP_Connect::check_website_status()">MainWP_Connect::check_website_status()</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-Uptime-Monitoring-Handle.html#method_check_website_uptime_monitoring_status"><abbr title="\MainWP\Dashboard\MainWP_Uptime_Monitoring_Handle::check_website_uptime_monitoring_status()">MainWP_Uptime_Monitoring_Handle::check_website_uptime_monitoring_status()</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_map_fields">
map_fields()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_fields" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">470</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.470" class="phpdocumentor-element-found-in__source" data-line="470" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method map_fields()</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">map_fields</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">$data</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">$keys</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">$object_output</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</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>Map 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">$data</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>data to map.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$keys</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Keys to map.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$object_output</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>Output format array|object.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>Mapped data.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_map_site">
map_site()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">485</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.485" class="phpdocumentor-element-found-in__source" data-line="485" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method map_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">map_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 class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$keys</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">$object_output</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</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>Map 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>Website to map.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$keys</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Keys to map.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$object_output</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>Output format array|object.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-DB.html#method_get_websites_for_current_user"><abbr title="\MainWP\Dashboard\MainWP_DB::get_websites_for_current_user()">MainWP_DB::get_websites_for_current_user()</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_get_all_posts"><abbr title="\MainWP\Dashboard\MainWP_Hooks::hook_get_all_posts()">MainWP_Hooks::hook_get_all_posts()</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-Bulk-Update-Admin-Passwords.html#method_render"><abbr title="\MainWP\Dashboard\MainWP_Bulk_Update_Admin_Passwords::render()">MainWP_Bulk_Update_Admin_Passwords::render()</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-Extensions-Handler.html#method_hook_get_db_sites"><abbr title="\MainWP\Dashboard\MainWP_Extensions_Handler::hook_get_db_sites()">MainWP_Extensions_Handler::hook_get_db_sites()</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-Install-Bulk.html#method_prepare_install"><abbr title="\MainWP\Dashboard\MainWP_Install_Bulk::prepare_install()">MainWP_Install_Bulk::prepare_install()</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-Install-Bulk.html#method_prepare_upload"><abbr title="\MainWP\Dashboard\MainWP_Install_Bulk::prepare_upload()">MainWP_Install_Bulk::prepare_upload()</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-Page.html#method_render_table_body"><abbr title="\MainWP\Dashboard\MainWP_Page::render_table_body()">MainWP_Page::render_table_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-Page.html#method_posting"><abbr title="\MainWP\Dashboard\MainWP_Page::posting()">MainWP_Page::posting()</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-Plugins.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_table()">MainWP_Plugins::render_table()</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-Plugins.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_table()">MainWP_Plugins::render_table()</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-Plugins.html#method_render_all_active_table"><abbr title="\MainWP\Dashboard\MainWP_Plugins::render_all_active_table()">MainWP_Plugins::render_all_active_table()</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-Post-Page-Handler.html#method_posting"><abbr title="\MainWP\Dashboard\MainWP_Post_Page_Handler::posting()">MainWP_Post_Page_Handler::posting()</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-Post.html#method_render_table_body"><abbr title="\MainWP\Dashboard\MainWP_Post::render_table_body()">MainWP_Post::render_table_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-Settings.html#method_export_sites"><abbr title="\MainWP\Dashboard\MainWP_Settings::export_sites()">MainWP_Settings::export_sites()</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-Themes.html#method_render_table"><abbr title="\MainWP\Dashboard\MainWP_Themes::render_table()">MainWP_Themes::render_table()</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-Themes.html#method_render_all_themes_table"><abbr title="\MainWP\Dashboard\MainWP_Themes::render_all_themes_table()">MainWP_Themes::render_all_themes_table()</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-User.html#method_render_table_body"><abbr title="\MainWP\Dashboard\MainWP_User::render_table_body()">MainWP_User::render_table_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-User.html#method_do_bulk_add"><abbr title="\MainWP\Dashboard\MainWP_User::do_bulk_add()">MainWP_User::do_bulk_add()</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-User.html#method_do_import"><abbr title="\MainWP\Dashboard\MainWP_User::do_import()">MainWP_User::do_import()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>$outputSite Mapped site.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_multi_find_keywords">
multi_find_keywords()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_multi_find_keywords" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1474</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1474" class="phpdocumentor-element-found-in__source" data-line="1474" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Find for multi keywords.</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">multi_find_keywords</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$name_str</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">$words</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>
<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">$name_str</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string find on.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$words</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 string input.</p>
</section>
</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_numeric_filter">
numeric_filter()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_numeric_filter" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1067</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1067" class="phpdocumentor-element-found-in__source" data-line="1067" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method numeric_filter()</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">numeric_filter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$int_num</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>Filter given numeric.</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">$int_num</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Int number.</p>
</section>
</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>$arr_ints Array filtered.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_parse_html_error_message">
parse_html_error_message()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_parse_html_error_message" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">886</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.886" class="phpdocumentor-element-found-in__source" data-line="886" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method parse_html_error_message()</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">parse_html_error_message</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$error_msg</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">$error_msg</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Error message.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>array|string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_http_prefix">
remove_http_prefix()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_prefix" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">629</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.629" class="phpdocumentor-element-found-in__source" data-line="629" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_http_prefix()</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">remove_http_prefix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$pUrl</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">$pTrimSlashes</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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Remove http prefixes from given url.</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">$pUrl</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Given URL.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$pTrimSlashes</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>Whether or not to trim slashes. Default is false.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_prefix#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-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">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Dashboard-MainWP-Extensions-View.html#method_render"><abbr title="\MainWP\Dashboard\MainWP_Extensions_View::render()">MainWP_Extensions_View::render()</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-View.html#method_render_edit_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_View::render_edit_site()">MainWP_Manage_Sites_View::render_edit_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-Post-Site-Handler.html#method_mainwp_testwp"><abbr title="\MainWP\Dashboard\MainWP_Post_Site_Handler::mainwp_testwp()">MainWP_Post_Site_Handler::mainwp_testwp()</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_update_site_handle"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites::update_site_handle()">MainWP_Manage_Sites::update_site_handle()</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>Trimmed URL.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_http_www_prefix">
remove_http_www_prefix()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_www_prefix" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">642</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.642" class="phpdocumentor-element-found-in__source" data-line="642" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_http_www_prefix()</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">remove_http_www_prefix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$pUrl</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>Remove 'www.' from given URL.</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">$pUrl</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Given URL.</p>
</section>
</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>Cleaned URL.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_preslash_spaces">
remove_preslash_spaces()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_preslash_spaces" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">611</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.611" class="phpdocumentor-element-found-in__source" data-line="611" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_preslash_spaces()</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">remove_preslash_spaces</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$text</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>Remove spaces before slashes.</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">$text</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>String to strip.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_preslash_spaces#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-Backup-Handler.html#method_backup_site"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_site()">MainWP_Backup_Handler::backup_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-Backup-Handler.html#method_backup_check_pid"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_check_pid()">MainWP_Backup_Handler::backup_check_pid()</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-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</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-DB-Backup.html#method_add_backup_task"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::add_backup_task()">MainWP_DB_Backup::add_backup_task()</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-DB-Backup.html#method_update_backup_task"><abbr title="\MainWP\Dashboard\MainWP_DB_Backup::update_backup_task()">MainWP_DB_Backup::update_backup_task()</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>$text Cleaned string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_right_array_merge">
right_array_merge()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_right_array_merge" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1495</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1495" class="phpdocumentor-element-found-in__source" data-line="1495" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Merge values from right array to left array.</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">right_array_merge</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">$left_array</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">$right_array</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>
<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">$left_array</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>left array.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$right_array</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>right array.</p>
</section>
</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>$result result array.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_sanitize">
sanitize()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">303</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.303" class="phpdocumentor-element-found-in__source" data-line="303" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method sanitize()</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">sanitize</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$str</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>Sanitize given string.</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">$str</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>String to sanitize.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize#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-Backup-Handler.html#method_backup_site"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_site()">MainWP_Backup_Handler::backup_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-Backup-Handler.html#method_backup_check_pid"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_check_pid()">MainWP_Backup_Handler::backup_check_pid()</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-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</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-Backups-Handler.html#method_execute_backup_task"><abbr title="\MainWP\Dashboard\MainWP_Manage_Backups_Handler::execute_backup_task()">MainWP_Manage_Backups_Handler::execute_backup_task()</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-Backups-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Manage_Backups_Handler::backup()">MainWP_Manage_Backups_Handler::backup()</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>Sanitized string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_sanitize_attr_slug">
sanitize_attr_slug()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_attr_slug" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">316</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.316" class="phpdocumentor-element-found-in__source" data-line="316" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method sanitize_alphanumeric()</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">sanitize_attr_slug</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$str</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>Sanitize given string.</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">$str</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>String to sanitize.</p>
</section>
</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>Sanitized string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_sanitize_data">
sanitize_data()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_data" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1708</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1708" class="phpdocumentor-element-found-in__source" data-line="1708" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Handle sanitize POST data.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">sanitize_data</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">$data</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>
<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">$data</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>input data.</p>
</section>
</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>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_sanitize_file_name">
sanitize_file_name()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_file_name" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">659</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.659" class="phpdocumentor-element-found-in__source" data-line="659" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method sanitize_file_name()</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">sanitize_file_name</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$filename</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>Sanitize file names.</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">$filename</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>File name to sanitize.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_file_name#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-Backup-Handler.html#method_backup_check_pid"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_check_pid()">MainWP_Backup_Handler::backup_check_pid()</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-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</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-List-Table.html#method_ajax_get_datatable_rows"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()">MainWP_Manage_Sites_List_Table::ajax_get_datatable_rows()</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-List-Table.html#method_single_row"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::single_row()">MainWP_Manage_Sites_List_Table::single_row()</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-Monitoring-Sites-List-Table.html#method_single_row"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::single_row()">MainWP_Monitoring_Sites_List_Table::single_row()</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-Client-Overview-Sites.html#method_single_row"><abbr title="\MainWP\Dashboard\MainWP_Client_Overview_Sites::single_row()">MainWP_Client_Overview_Sites::single_row()</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>Sanitized filename.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_short_number_format">
short_number_format()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_short_number_format" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1750</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1750" class="phpdocumentor-element-found-in__source" data-line="1750" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Returns number in shorter format.</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">short_number_format</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$number</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</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">$number</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>str.</p>
</section>
</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>$number Shorer number.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_show_mainwp_message">
show_mainwp_message()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_show_mainwp_message" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">917</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.917" class="phpdocumentor-element-found-in__source" data-line="917" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method show_mainwp_message()</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">show_mainwp_message</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&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">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$notice_id</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>Check whenther or not to show the MainWP Message.</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">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Type of message.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$notice_id</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Notice ID.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_show_mainwp_message#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-System-View.html#method_mainwp_4_update_notice"><abbr title="\MainWP\Dashboard\MainWP_System_View::mainwp_4_update_notice()">MainWP_System_View::mainwp_4_update_notice()</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-View.html#method_mainwp_ver5_update_notice"><abbr title="\MainWP\Dashboard\MainWP_System_View::mainwp_ver5_update_notice()">MainWP_System_View::mainwp_ver5_update_notice()</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-View.html#method_mainwp_ver502_update_notice"><abbr title="\MainWP\Dashboard\MainWP_System_View::mainwp_ver502_update_notice()">MainWP_System_View::mainwp_ver502_update_notice()</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-View.html#method_mainwp_ver5_update_clear_cache_notice"><abbr title="\MainWP\Dashboard\MainWP_System_View::mainwp_ver5_update_clear_cache_notice()">MainWP_System_View::mainwp_ver5_update_clear_cache_notice()</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-View.html#method_render_browser_extensions_notice"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_browser_extensions_notice()">MainWP_System_View::render_browser_extensions_notice()</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-View.html#method_render_secure_priv_key_connection"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_secure_priv_key_connection()">MainWP_System_View::render_secure_priv_key_connection()</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-View.html#method_render_notice_version"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_notice_version()">MainWP_System_View::render_notice_version()</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-View.html#method_render_notice_php_version8"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_notice_php_version8()">MainWP_System_View::render_notice_php_version8()</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-View.html#method_render_trours_notice"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_trours_notice()">MainWP_System_View::render_trours_notice()</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-View.html#method_render_notice_config_warning"><abbr title="\MainWP\Dashboard\MainWP_System_View::render_notice_config_warning()">MainWP_System_View::render_notice_config_warning()</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-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-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>
<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_sortmulti">
sortmulti()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sortmulti" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">188</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.188" class="phpdocumentor-element-found-in__source" data-line="188" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method sortmulti()</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">sortmulti</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$arr</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">$index</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">$order</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">$natsort</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">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$case_sensitive</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">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Sort the given array, Acending, Decending or by Natural Order.</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">$arr</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array to sort.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$index</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Index of array.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$order</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Acending or Decending order.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$natsort</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>Sort an array using a &quot;natural order&quot; algorithm. Default: false.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$case_sensitive</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>If case sensitive return true else return false. Default: false.</p>
</section>
</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>$sorted Return the sorted array.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_starts_with">
starts_with()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_starts_with" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">90</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.90" class="phpdocumentor-element-found-in__source" data-line="90" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method starts_with()</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">starts_with</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$haystack</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">$needle</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>Start of Stack Trace.</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">$haystack</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The full stack.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$needle</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>The function that is throwing the error.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_starts_with#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-Demo-Handle.html#method_import_data_demo"><abbr title="\MainWP\Dashboard\MainWP_Demo_Handle::import_data_demo()">MainWP_Demo_Handle::import_data_demo()</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-View.html#method_render_import_sites"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_View::render_import_sites()">MainWP_Manage_Sites_View::render_import_sites()</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-View.html#method_render_edit_site"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_View::render_edit_site()">MainWP_Manage_Sites_View::render_edit_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-User.html#method_render_bulk_upload"><abbr title="\MainWP\Dashboard\MainWP_User::render_bulk_upload()">MainWP_User::render_bulk_upload()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>Needle in the Haystack.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_string_ends_by">
string_ends_by()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_string_ends_by" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1733</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1733" class="phpdocumentor-element-found-in__source" data-line="1733" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">String ends by.</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">string_ends_by</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$str</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">$ends</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</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">$str</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>str.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$ends</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>ends.</p>
</section>
</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>value value.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_time_elapsed_string">
time_elapsed_string()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_time_elapsed_string" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1767</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1767" class="phpdocumentor-element-found-in__source" data-line="1767" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Returns date in time ago format</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">time_elapsed_string</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$ptime</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</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">$ptime</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Date stamp.</p>
</section>
</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>$string Time elapsed string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_trim_slashes">
trim_slashes()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_trim_slashes" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">290</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.290" class="phpdocumentor-element-found-in__source" data-line="290" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method trim_slashes()</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">trim_slashes</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$elem</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>Trim stashes from element.</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">$elem</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Element to trim.</p>
</section>
</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>Return string with no slashes.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_update_flash_message">
update_flash_message()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_flash_message" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">985</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.985" class="phpdocumentor-element-found-in__source" data-line="985" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method update_flash_message()</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_flash_message</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$message_id</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">$content</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>Check whenther or not to show the MainWP Message.</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">$message_id</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Notice ID.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Content of message.</p>
</section>
</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_update_option">
update_option()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_option" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">574</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.574" class="phpdocumentor-element-found-in__source" data-line="574" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method update_option()</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_option</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$option_name</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">$option_value</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>Update option.</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">$option_name</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Option name.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$option_value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Option value.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_option#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-Api-Manager-Key.html#method_verify_api_key"><abbr title="\MainWP\Dashboard\MainWP_Api_Manager_Key::verify_api_key()">MainWP_Api_Manager_Key::verify_api_key()</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-Api-Manager.html#method_set_activation_info"><abbr title="\MainWP\Dashboard\MainWP_Api_Manager::set_activation_info()">MainWP_Api_Manager::set_activation_info()</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-Api-Manager.html#method_license_key_activation"><abbr title="\MainWP\Dashboard\MainWP_Api_Manager::license_key_activation()">MainWP_Api_Manager::license_key_activation()</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-Backup-Handler.html#method_handle_settings_post"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::handle_settings_post()">MainWP_Backup_Handler::handle_settings_post()</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-Install.html#method_install"><abbr title="\MainWP\Dashboard\MainWP_Install::install()">MainWP_Install::install()</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-List-Table.html#method_prepare_items"><abbr title="\MainWP\Dashboard\MainWP_Manage_Sites_List_Table::prepare_items()">MainWP_Manage_Sites_List_Table::prepare_items()</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-Monitoring-Handler.html#method_handle_settings_post"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Handler::handle_settings_post()">MainWP_Monitoring_Handler::handle_settings_post()</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-Monitoring-Handler.html#method_handle_settings_post"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Handler::handle_settings_post()">MainWP_Monitoring_Handler::handle_settings_post()</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-Monitoring-Sites-List-Table.html#method_prepare_items"><abbr title="\MainWP\Dashboard\MainWP_Monitoring_Sites_List_Table::prepare_items()">MainWP_Monitoring_Sites_List_Table::prepare_items()</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_emails_general_settings_handle"><abbr title="\MainWP\Dashboard\MainWP_Notification_Settings::emails_general_settings_handle()">MainWP_Notification_Settings::emails_general_settings_handle()</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-Post-Base-Handler.html#method_secure_request"><abbr title="\MainWP\Dashboard\MainWP_Post_Base_Handler::secure_request()">MainWP_Post_Base_Handler::secure_request()</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-Post-Extension-Handler.html#method_save_extensions_api_login"><abbr title="\MainWP\Dashboard\MainWP_Post_Extension_Handler::save_extensions_api_login()">MainWP_Post_Extension_Handler::save_extensions_api_login()</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-Post-Extension-Handler.html#method_save_api_ssl_verify"><abbr title="\MainWP\Dashboard\MainWP_Post_Extension_Handler::save_api_ssl_verify()">MainWP_Post_Extension_Handler::save_api_ssl_verify()</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-Post-Extension-Handler.html#method_test_extensions_api_login"><abbr title="\MainWP\Dashboard\MainWP_Post_Extension_Handler::test_extensions_api_login()">MainWP_Post_Extension_Handler::test_extensions_api_login()</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-Post-Extension-Handler.html#method_remove_extension_menu_from_mainwp_menu"><abbr title="\MainWP\Dashboard\MainWP_Post_Extension_Handler::remove_extension_menu_from_mainwp_menu()">MainWP_Post_Extension_Handler::remove_extension_menu_from_mainwp_menu()</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-Post-Handler.html#method_mainwp_posts_search"><abbr title="\MainWP\Dashboard\MainWP_Post_Handler::mainwp_posts_search()">MainWP_Post_Handler::mainwp_posts_search()</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-Post-Handler.html#method_mainwp_pages_search"><abbr title="\MainWP\Dashboard\MainWP_Post_Handler::mainwp_pages_search()">MainWP_Post_Handler::mainwp_pages_search()</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-Post-Handler.html#method_mainwp_notice_status_update"><abbr title="\MainWP\Dashboard\MainWP_Post_Handler::mainwp_notice_status_update()">MainWP_Post_Handler::mainwp_notice_status_update()</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-Post-Handler.html#method_ajax_mainwp_save_settings"><abbr title="\MainWP\Dashboard\MainWP_Post_Handler::ajax_mainwp_save_settings()">MainWP_Post_Handler::ajax_mainwp_save_settings()</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-Post-Handler.html#method_ajax_guided_tours_option_update"><abbr title="\MainWP\Dashboard\MainWP_Post_Handler::ajax_guided_tours_option_update()">MainWP_Post_Handler::ajax_guided_tours_option_update()</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-Post-Handler.html#method_ajax_mainwp_help_modal_content_update"><abbr title="\MainWP\Dashboard\MainWP_Post_Handler::ajax_mainwp_help_modal_content_update()">MainWP_Post_Handler::ajax_mainwp_help_modal_content_update()</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_updates_check"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_updates_check()">MainWP_System_Cron_Jobs::cron_updates_check()</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_refresh_saved_fields"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::refresh_saved_fields()">MainWP_System_Cron_Jobs::refresh_saved_fields()</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_ping_childs"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_ping_childs()">MainWP_System_Cron_Jobs::cron_ping_childs()</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_backups_continue"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_backups_continue()">MainWP_System_Cron_Jobs::cron_backups_continue()</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_backups"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_backups()">MainWP_System_Cron_Jobs::cron_backups()</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-System-Cron-Jobs.html#method_cron_check_websites_health"><abbr title="\MainWP\Dashboard\MainWP_System_Cron_Jobs::cron_check_websites_health()">MainWP_System_Cron_Jobs::cron_check_websites_health()</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-Handler.html#method_handle_mainwp_tools_settings"><abbr title="\MainWP\Dashboard\MainWP_System_Handler::handle_mainwp_tools_settings()">MainWP_System_Handler::handle_mainwp_tools_settings()</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-Handler.html#method_check_update_custom"><abbr title="\MainWP\Dashboard\MainWP_System_Handler::check_update_custom()">MainWP_System_Handler::check_update_custom()</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-Handler.html#method_check_upgrade"><abbr title="\MainWP\Dashboard\MainWP_System_Handler::check_upgrade()">MainWP_System_Handler::check_upgrade()</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.html#method___construct"><abbr title="\MainWP\Dashboard\MainWP_System::__construct()">MainWP_System::__construct()</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.html#method_wp_mail_failed"><abbr title="\MainWP\Dashboard\MainWP_System::wp_mail_failed()">MainWP_System::wp_mail_failed()</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.html#method_activation"><abbr title="\MainWP\Dashboard\MainWP_System::activation()">MainWP_System::activation()</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-Extensions-Handler.html#method_add_extension_menu"><abbr title="\MainWP\Dashboard\MainWP_Extensions_Handler::add_extension_menu()">MainWP_Extensions_Handler::add_extension_menu()</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-Extensions.html#method_init_menu"><abbr title="\MainWP\Dashboard\MainWP_Extensions::init_menu()">MainWP_Extensions::init_menu()</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-Extensions.html#method_ajax_get_purchased_extensions"><abbr title="\MainWP\Dashboard\MainWP_Extensions::ajax_get_purchased_extensions()">MainWP_Extensions::ajax_get_purchased_extensions()</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-Server-Information.html#method_render_action_logs"><abbr title="\MainWP\Dashboard\MainWP_Server_Information::render_action_logs()">MainWP_Server_Information::render_action_logs()</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-Settings.html#method_handle_settings_post"><abbr title="\MainWP\Dashboard\MainWP_Settings::handle_settings_post()">MainWP_Settings::handle_settings_post()</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-Settings.html#method_handle_settings_post"><abbr title="\MainWP\Dashboard\MainWP_Settings::handle_settings_post()">MainWP_Settings::handle_settings_post()</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-Settings.html#method_render_advanced"><abbr title="\MainWP\Dashboard\MainWP_Settings::render_advanced()">MainWP_Settings::render_advanced()</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_introduction_save"><abbr title="\MainWP\Dashboard\MainWP_Setup_Wizard::mwp_setup_introduction_save()">MainWP_Setup_Wizard::mwp_setup_introduction_save()</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_system_requirements_save"><abbr title="\MainWP\Dashboard\MainWP_Setup_Wizard::mwp_setup_system_requirements_save()">MainWP_Setup_Wizard::mwp_setup_system_requirements_save()</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_monitoring_save"><abbr title="\MainWP\Dashboard\MainWP_Setup_Wizard::mwp_setup_monitoring_save()">MainWP_Setup_Wizard::mwp_setup_monitoring_save()</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>False if value was not updated and true if value was updated.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_update_user_option">
update_user_option()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_user_option" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">594</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.594" class="phpdocumentor-element-found-in__source" data-line="594" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method update_user_option()</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_user_option</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$option_name</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">$option_value</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>Update option.</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">$option_name</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Option name.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$option_value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Option value.</p>
</section>
</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>False if value was not updated and true if value was updated.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_valid_file_check">
valid_file_check()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_valid_file_check" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1692</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1692" class="phpdocumentor-element-found-in__source" data-line="1692" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method valid_file_check().</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">valid_file_check</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$path</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">$readable</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</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">$path</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>file path.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$readable</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>readable.</p>
</section>
</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>is valid.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_valid_input_emails">
valid_input_emails()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_valid_input_emails" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1230</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1230" class="phpdocumentor-element-found-in__source" data-line="1230" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method valid_input_emails().</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">valid_input_emails</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$emails</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</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">$emails</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Input emails string.</p>
</section>
</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>$valid_emails Valid emails string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_value_to_string">
value_to_string()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_value_to_string" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1112</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1112" class="phpdocumentor-element-found-in__source" data-line="1112" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method value_to_string()</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">value_to_string</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$var_value</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>Value to string.</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">$var_value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Value to convert to string.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_value_to_string#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-Api-Manager-Key.html#method_verify_api_key"><abbr title="\MainWP\Dashboard\MainWP_Api_Manager_Key::verify_api_key()">MainWP_Api_Manager_Key::verify_api_key()</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-Backup-Handler.html#method_backup_site"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup_site()">MainWP_Backup_Handler::backup_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-Backup-Handler.html#method_backup"><abbr title="\MainWP\Dashboard\MainWP_Backup_Handler::backup()">MainWP_Backup_Handler::backup()</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-Connect.html#method_try_visit"><abbr title="\MainWP\Dashboard\MainWP_Connect::try_visit()">MainWP_Connect::try_visit()</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-Connect.html#method_fetch_url_site"><abbr title="\MainWP\Dashboard\MainWP_Connect::fetch_url_site()">MainWP_Connect::fetch_url_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-WP-CLI-Command.html#method_plugin"><abbr title="\MainWP\Dashboard\MainWP_WP_CLI_Command::plugin()">MainWP_WP_CLI_Command::plugin()</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_theme"><abbr title="\MainWP\Dashboard\MainWP_WP_CLI_Command::theme()">MainWP_WP_CLI_Command::theme()</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>Value that has been converted into a string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_verify_site_nonce">
verify_site_nonce()
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_verify_site_nonce" 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-utility.php"><a href="files/class-class-mainwp-utility.html"><abbr title="class/class-mainwp-utility.php">class-mainwp-utility.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1453</span>
<a href="classes/MainWP-Dashboard-MainWP-Utility.html#source-view.1453" class="phpdocumentor-element-found-in__source" data-line="1453" data-modal="source-view" data-src="files/class/class-mainwp-utility.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method verify_site_nonce()</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">verify_site_nonce</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$nonce</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$action</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">-1</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$siteid</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0</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>Verify nonce without session and user id.</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">$nonce</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Nonce to verify.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$action</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">-1</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Action to perform.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$siteid</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">0</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Site ID.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>If verified return 1 or 2, if not return false.</p>
</section>
</section>
</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-utility.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-Utility.html#toc-properties">Properties</a></li>
<li><a href="classes/MainWP-Dashboard-MainWP-Utility.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_disabled_functions">$disabled_functions</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_enabled_wp_seo">$enabled_wp_seo</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_last_deactivated_alerts">$last_deactivated_alerts</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#property_instance">$instance</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-Utility.html#method_array_merge">array_merge()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_numeric_filter">array_numeric_filter()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_sort">array_sort()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_array_sort_existed_keys">array_sort_existed_keys()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_abandoned">check_abandoned()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_check_image_file_name">check_image_file_name()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_create_site_nonce">create_site_nonce()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ctype_digit">ctype_digit()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_date">date()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_file">delete_file()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_saved_favicon">delete_saved_favicon()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_delete_uploaded_icon_file">delete_uploaded_icon_file()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_enabled_wp_seo">enabled_wp_seo()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_end_session">end_session()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_ends_with">ends_with()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_content">esc_content()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_esc_mixed_content">esc_mixed_content()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_date">format_date()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_duration_time">format_duration_time()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_time">format_time()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_format_timestamp">format_timestamp()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_class_name">get_class_name()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_dir_slug">get_dir_slug()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_disable_functions">get_disable_functions()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_flash_message">get_flash_message()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_hide_notice_status">get_hide_notice_status()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_http_codes">get_http_codes()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_language_code_as_flag">get_language_code_as_flag()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_nice_url">get_nice_url()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_remote_favicon">get_remote_favicon()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_saved_favicon_url">get_saved_favicon_url()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_set_deactivated_licenses_alerted">get_set_deactivated_licenses_alerted()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_health">get_site_health()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_site_index_option_icon">get_site_index_option_icon()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_siteview_mode">get_siteview_mode()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_sub_array_having">get_sub_array_having()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_sub_array_with_limit">get_sub_array_with_limit()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_table_orders">get_table_orders()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_get_timestamp">get_timestamp()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_hook_verify_ping_nonce">hook_verify_ping_nonce()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_human_filesize">human_filesize()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_instance">instance()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_disabled_functions">is_disabled_functions()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_is_domain_valid">is_domain_valid()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_fields">map_fields()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_map_site">map_site()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_multi_find_keywords">multi_find_keywords()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_numeric_filter">numeric_filter()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_parse_html_error_message">parse_html_error_message()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_prefix">remove_http_prefix()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_http_www_prefix">remove_http_www_prefix()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_remove_preslash_spaces">remove_preslash_spaces()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_right_array_merge">right_array_merge()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize">sanitize()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_attr_slug">sanitize_attr_slug()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_data">sanitize_data()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sanitize_file_name">sanitize_file_name()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_short_number_format">short_number_format()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_show_mainwp_message">show_mainwp_message()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_sortmulti">sortmulti()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_starts_with">starts_with()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_string_ends_by">string_ends_by()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_time_elapsed_string">time_elapsed_string()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_trim_slashes">trim_slashes()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_flash_message">update_flash_message()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_option">update_option()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_update_user_option">update_user_option()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_valid_file_check">valid_file_check()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_valid_input_emails">valid_input_emails()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_value_to_string">value_to_string()</a></li>
<li class=""><a href="classes/MainWP-Dashboard-MainWP-Utility.html#method_verify_site_nonce">verify_site_nonce()</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-Utility.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>