mainwp.dev/source-code/child/classes/MainWP-Child-MainWP-Helper.html
2025-03-17 19:02:54 -04:00

6204 lines
369 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MainWP Child 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 Child 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-child.html" class="">Child</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/MainWP.html" class="">MainWP</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWP-Child.html" class="">Child</a>
</li>
<li>
<a href="packages/MainWP-ChildCreditsPlugin.html" class="">ChildCreditsPlugin</a>
</li>
<li>
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPChild.html" class="">MainWPChild</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-child.html">Child</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
MainWP_Helper
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWPChild.html">MainWPChild</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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">17</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.17" class="phpdocumentor-element-found-in__source" data-line="17" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Class MainWP_Helper</p>
<section class="phpdocumentor-description"><p>Helper functions.</p>
</section>
<h3 id="toc">
Table of Contents
<a href="classes/MainWP-Child-MainWP-Helper.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-properties">
Properties
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#property_instance">$instance</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Public static variable to hold the single instance of the class.</dd>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_check_classes_exists">check_classes_exists()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_classes_exists()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_check_dir">check_dir()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_dir()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_check_files_exists">check_files_exists()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_files_exists()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_check_functions">check_functions()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_functions()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_check_methods">check_methods()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_methods()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_check_properties">check_properties()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_properties()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_check_wp_filesystem">check_wp_filesystem()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method check_wp_filesystem()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_current_user_has_role">current_user_has_role()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method current_user_has_role()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_delete_dir">delete_dir()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method delete_dir()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_end_session">end_session()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method end_session()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_error">error()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method write()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_file_put_contents">file_put_contents()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method fwrite()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_format_date">format_date()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method format_date()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_fs_is_connected">fs_is_connected()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method fs_is_connected()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_funct_exists">funct_exists()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method funct_exists()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_get_class_name">get_class_name()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_class_name()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_get_mainwp_dir">get_mainwp_dir()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method get_mainwp_dir()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_get_site_unique_id">get_site_unique_id()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_site_unique_id()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_get_wp_filesystem">get_wp_filesystem()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method get_wp_filesystem()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_host">get_wp_host()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_wp_host()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_in_excludes">in_excludes()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method in_excludes()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_instance">instance()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method instance()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_admin">is_admin()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_admin()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_dashboard_request">is_dashboard_request()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_dashboard_request()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_dir_empty">is_dir_empty()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_dir_empty()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_flywheel_host">is_flywheel_host()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_flywheel_host()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_pressable_host">is_pressable_host()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_pressable_host()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_ssl_enabled">is_ssl_enabled()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_ssl_enabled()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_updates_screen">is_updates_screen()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_updates_screen()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine">is_wp_engine()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_wp_engine()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine_php8">is_wp_engine_php8()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method is_wp_engine_php8()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_is_writable">is_writable()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method is_writable()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_log_debug">log_debug()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method log_debug()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_maybe_set_doing_cron">maybe_set_doing_cron()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method maybe_set_doing_cron()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_mkdir">mkdir()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method mkdir()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_move">move()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method move()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_rand_str_key">rand_str_key()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method rand_str_key()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_rand_string">rand_string()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method rand_string()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_reject_unsafe_urls">reject_unsafe_urls()</a>
<span>
&nbsp;: array&lt;string|int, mixed&gt; </span>
</dt>
<dd>Method reject_unsafe_urls()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_return_bytes">return_bytes()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method return_bytes()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_rmdir">rmdir()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method is_writable()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_sanitize_filename">sanitize_filename()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method sanitize_filename()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_search">search()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method search()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_send">send()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method send()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_set_limit">set_limit()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method set_limit()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_starts_with">starts_with()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method starts_with()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_write">write()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method write()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Helper.html#method_write_feedback">write_feedback()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method write_feedback()</dd>
</dl>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/MainWP-Child-MainWP-Helper.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_instance">
$instance
<a href="classes/MainWP-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">24</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Public static variable to hold the single instance of the class.</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">$instance</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Default null</p>
</section>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/MainWP-Child-MainWP-Helper.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_check_classes_exists">
check_classes_exists()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_classes_exists" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1059</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1059" class="phpdocumentor-element-found-in__source" data-line="1059" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_classes_exists()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">check_classes_exists</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$classes</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$return_results</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>Check if a certain classes exist.</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">$classes</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 containing list of classes to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$return_results</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 true, return feedback.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_classes_exists#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"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></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">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>If exists, return true, if not, return list of missing classes.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_check_dir">
check_dir()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_dir" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">270</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.270" class="phpdocumentor-element-found-in__source" data-line="270" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_dir()</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_dir</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dir</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$die_on_error</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">$chmod</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">0755</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>Check if the /mainwp/ direcorty is writable by server.</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">$dir</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains directory path.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$die_on_error</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>If true, process will die on error, if false, process will continue.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$chmod</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">0755</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains information about the directory permissions settings.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_dir#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"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
<section class="phpdocumentor-description"><p>Error 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-Child-MainWP-Utility.html#method_validate_mainwp_dir"><abbr title="\MainWP\Child\MainWP_Utility::validate_mainwp_dir()">MainWP_Utility::validate_mainwp_dir()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_check_files_exists">
check_files_exists()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_files_exists" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1025</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1025" class="phpdocumentor-element-found-in__source" data-line="1025" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_files_exists()</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_files_exists</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$files</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$return_results</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>Check if a certain files exist.</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">$files</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 containing list of files to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$return_results</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 true, return feedback.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_files_exists#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"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
<section class="phpdocumentor-description"><p>Error 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-Child-MainWP-Child-Back-WP-Up.html#method___construct"><abbr title="\MainWP\Child\MainWP_Child_Back_WP_Up::__construct()">MainWP_Child_Back_WP_Up::__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-Child-MainWP-Child-Links-Checker.html#method_get_links_data"><abbr title="\MainWP\Child\MainWP_Child_Links_Checker::get_links_data()">MainWP_Child_Links_Checker::get_links_data()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Links-Checker.html#method_get_count_links"><abbr title="\MainWP\Child\MainWP_Child_Links_Checker::get_count_links()">MainWP_Child_Links_Checker::get_count_links()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Timecapsule.html#method_require_files"><abbr title="\MainWP\Child\MainWP_Child_Timecapsule::require_files()">MainWP_Child_Timecapsule::require_files()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if requested files exist.</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 exists, return true, if not, return list of missing files.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_check_functions">
check_functions()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1169</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1169" class="phpdocumentor-element-found-in__source" data-line="1169" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_functions()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">check_functions</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$funcs</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$return_results</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>Check if a certain functions exist.</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">$funcs</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 containing list of functions to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$return_results</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 true, return feedback.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_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">throws</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></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">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>If exists, return true, if not, return list of missing functions.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_check_methods">
check_methods()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_methods" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1094</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1094" class="phpdocumentor-element-found-in__source" data-line="1094" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_methods()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">check_methods</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$obj</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">$methods</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$return_results</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>Check if a certain methods exist.</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">$obj</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Object to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$methods</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 containing list of methods to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$return_results</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 true, return feedback.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_methods#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"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></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">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>If exists, return true, if not, return list of missing methods.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_check_properties">
check_properties()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_properties" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1133</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1133" class="phpdocumentor-element-found-in__source" data-line="1133" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_properties()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">check_properties</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object&nbsp;</span><span class="phpdocumentor-signature__argument__name">$obj</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">$properties</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">array()</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$return_results</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>Check if a certain properties exist.</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">$obj</span>
: <span class="phpdocumentor-signature__argument__return-type">object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Object to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$properties</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 containing list of properties to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$return_results</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 true, return feedback.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_properties#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"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></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">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>If exists, return true, if not, return list of missing properties.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_check_wp_filesystem">
check_wp_filesystem()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_wp_filesystem" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">396</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.396" class="phpdocumentor-element-found-in__source" data-line="396" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method check_wp_filesystem()</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_wp_filesystem</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>Check the WordPress filesystem.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_check_wp_filesystem#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-Child-MainWP-Child-Install.html#method_delete_plugins"><abbr title="\MainWP\Child\MainWP_Child_Install::delete_plugins()">MainWP_Child_Install::delete_plugins()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Install.html#method_theme_action"><abbr title="\MainWP\Child\MainWP_Child_Install::theme_action()">MainWP_Child_Install::theme_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Install.html#method_install_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Install::install_plugin_theme()">MainWP_Child_Install::install_plugin_theme()</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>$wp_filesystem WordPress filesystem check result.</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">816</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.816" class="phpdocumentor-element-found-in__source" data-line="816" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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>Check for numberic character(s).</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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the string to check.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Child-Stats.html#method_get_total_file_size"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_total_file_size()">MainWP_Child_Stats::get_total_file_size()</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 If numberic characters found, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_current_user_has_role">
current_user_has_role()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_current_user_has_role" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">855</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.855" class="phpdocumentor-element-found-in__source" data-line="855" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method current_user_has_role()</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">current_user_has_role</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|array&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$roles</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">object|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$user</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</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>Check if the user has role.</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">$roles</span>
: <span class="phpdocumentor-signature__argument__return-type">string|array&lt;string|int, mixed&gt;</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>role or array of roles to check.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$user</span>
: <span class="phpdocumentor-signature__argument__return-type">object|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>user check.</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 If the user is administrator (Level 10), return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_delete_dir">
delete_dir()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_delete_dir" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">626</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.626" class="phpdocumentor-element-found-in__source" data-line="626" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method delete_dir()</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_dir</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dir</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>Delete wanted directory.</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">$dir</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the directory location path.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_delete_dir#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-Child-MainWP-Backup.html#method_create_zip_pcl_full_backup2"><abbr title="\MainWP\Child\MainWP_Backup::create_zip_pcl_full_backup2()">MainWP_Backup::create_zip_pcl_full_backup2()</abbr></a></span>
<section class="phpdocumentor-description"><p>Delete wanted directory.</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-Child-MainWP-Clone.html#method_clone_backup_delete_files"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_delete_files()">MainWP_Clone::clone_backup_delete_files()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_end_session">
end_session()
<a href="classes/MainWP-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">519</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.519" class="phpdocumentor-element-found-in__source" data-line="519" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>End session and flush the output buffer.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>End session and flush the output buffer.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::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-Child-MainWP-Clone.html#method_create_clone_backup"><abbr title="\MainWP\Child\MainWP_Clone::create_clone_backup()">MainWP_Clone::create_clone_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-Child-MainWP-Clone.html#method_clone_backup_create"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_create()">MainWP_Clone::clone_backup_create()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_create_poll"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_create_poll()">MainWP_Clone::clone_backup_create_poll()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_download"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_download()">MainWP_Clone::clone_backup_download()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_download_poll"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_download_poll()">MainWP_Clone::clone_backup_download_poll()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_extract"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_extract()">MainWP_Clone::clone_backup_extract()</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">471</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.471" class="phpdocumentor-element-found-in__source" data-line="471" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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">string&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>Check if the String 1 ends with the String 2.</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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the String 1 for the comparison.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$needle</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the String 2 for the comparison.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the String 1 ends with the String 2.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::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-Child-MainWP-Backup.html#method_copy_dir"><abbr title="\MainWP\Child\MainWP_Backup::copy_dir()">MainWP_Backup::copy_dir()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the String 1 ends with the String 2.</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-Child-MainWP-Backup.html#method_add_file_to_zipp"><abbr title="\MainWP\Child\MainWP_Backup::add_file_to_zipp()">MainWP_Backup::add_file_to_zipp()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Utility.html#method_upload_file_backup"><abbr title="\MainWP\Child\MainWP_Utility::upload_file_backup()">MainWP_Utility::upload_file_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-Child-MainWP-Utility.html#method_upload_file"><abbr title="\MainWP\Child\MainWP_Utility::upload_file()">MainWP_Utility::upload_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-Child-Tar-Archiver.html#method_add_file"><abbr title="\MainWP\Child\Tar_Archiver::add_file()">Tar_Archiver::add_file()</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 Return true if the comparison is positive, false if not.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_error">
error()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_error" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">112</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.112" class="phpdocumentor-element-found-in__source" data-line="112" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method write()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">error</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</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">$code</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</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>Handle response data errors.</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">$error</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains error message.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$code</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>Contains the error code.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_file_put_contents">
file_put_contents()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_file_put_contents" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">192</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.192" class="phpdocumentor-element-found-in__source" data-line="192" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method fwrite()</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">file_put_contents</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</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">$content</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">$file</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">$content</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>content write.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_format_date">
format_date()
<a href="classes/MainWP-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">695</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.695" class="phpdocumentor-element-found-in__source" data-line="695" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method format_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">format_date</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&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 date as per the WordPress general settings.</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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the timestamp value.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_format_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-Child-MainWP-Client-Report-Base.html#method_get_section_token_value"><abbr title="\MainWP\Child\MainWP_Client_Report_Base::get_section_token_value()">MainWP_Client_Report_Base::get_section_token_value()</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 date.</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">708</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.708" class="phpdocumentor-element-found-in__source" data-line="708" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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 time as per the WordPress general settings.</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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the timestamp value.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_format_time#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-Child-MainWP-Client-Report-Base.html#method_get_section_token_value"><abbr title="\MainWP\Child\MainWP_Client_Report_Base::get_section_token_value()">MainWP_Client_Report_Base::get_section_token_value()</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 time.</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">721</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.721" class="phpdocumentor-element-found-in__source" data-line="721" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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 timestamp as per the WordPress general settings.</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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the timestamp value.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Child-Server-Information.html#method_render_cron"><abbr title="\MainWP\Child\MainWP_Child_Server_Information::render_cron()">MainWP_Child_Server_Information::render_cron()</abbr></a></span>
<section class="phpdocumentor-description"><p>Format timestamp as per the WordPress general settings.</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 date and time.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_fs_is_connected">
fs_is_connected()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_fs_is_connected" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">177</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.177" class="phpdocumentor-element-found-in__source" data-line="177" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method fs_is_connected()</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">fs_is_connected</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>Check if WP FileSystem is connected.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_funct_exists">
funct_exists()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_funct_exists" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">650</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.650" class="phpdocumentor-element-found-in__source" data-line="650" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method funct_exists()</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">funct_exists</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">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check if a function exists.</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>Contains the function name.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_funct_exists#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-Child-MainWP-Child-Stats.html#method_get_total_file_size"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_total_file_size()">MainWP_Child_Stats::get_total_file_size()</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 Return true if the function exists, false if not.</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">33</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.33" class="phpdocumentor-element-found-in__source" data-line="33" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get class name.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_class_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-Child-MainWP-Child-Branding.html#method_branding_upload_image"><abbr title="\MainWP\Child\MainWP_Child_Branding::branding_upload_image()">MainWP_Child_Branding::branding_upload_image()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Bulk-Settings-Manager.html#method_visit_site_as_browser"><abbr title="\MainWP\Child\MainWP_Child_Bulk_Settings_Manager::visit_site_as_browser()">MainWP_Child_Bulk_Settings_Manager::visit_site_as_browser()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Install.html#method_install_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Install::install_plugin_theme()">MainWP_Child_Install::install_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-Child-MainWP-Utility.html#method_upload_image"><abbr title="\MainWP\Child\MainWP_Utility::upload_image()">MainWP_Utility::upload_image()</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><strong>CLASS</strong> Class name.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_mainwp_dir">
get_mainwp_dir()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_mainwp_dir" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">131</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.131" class="phpdocumentor-element-found-in__source" data-line="131" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_mainwp_dir()</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_mainwp_dir</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$what</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">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$die_on_error</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">array&lt;string|int, mixed&gt;</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get the MainWP directory.</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">$what</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains directory name.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$die_on_error</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>If true, process will die on error, if false, process will continue.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_mainwp_dir#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"><a href="classes/MainWP-Child-MainWP-Exception.html"><abbr title="\MainWP\Child\MainWP_Exception">MainWP_Exception</abbr></a></span>
<section class="phpdocumentor-description"><p>Error 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-Child-MainWP-Backup.html#method_create_full_backup"><abbr title="\MainWP\Child\MainWP_Backup::create_full_backup()">MainWP_Backup::create_full_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-Child-MainWP-Backup.html#method_backup_poll"><abbr title="\MainWP\Child\MainWP_Backup::backup_poll()">MainWP_Backup::backup_poll()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get the MainWP directory.</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-Child-MainWP-Backup.html#method_backup_checkpid"><abbr title="\MainWP\Child\MainWP_Backup::backup_checkpid()">MainWP_Backup::backup_checkpid()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get the MainWP directory.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::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-Child-MainWP-Backup.html#method_backup_full"><abbr title="\MainWP\Child\MainWP_Backup::backup_full()">MainWP_Backup::backup_full()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Backup.html#method_backup_db"><abbr title="\MainWP\Child\MainWP_Backup::backup_db()">MainWP_Backup::backup_db()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get the MainWP directory.</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-Child-MainWP-Child-Callable.html#method_delete_backup"><abbr title="\MainWP\Child\MainWP_Child_Callable::delete_backup()">MainWP_Child_Callable::delete_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-Child-MainWP-Child-Server-Information-Base.html#method_check_mainwp_directory"><abbr title="\MainWP\Child\MainWP_Child_Server_Information_Base::check_mainwp_directory()">MainWP_Child_Server_Information_Base::check_mainwp_directory()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_total_file_size"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_total_file_size()">MainWP_Child_Stats::get_total_file_size()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone-Install.html#method_clean"><abbr title="\MainWP\Child\MainWP_Clone_Install::clean()">MainWP_Clone_Install::clean()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone-Page.html#method_render_clone_from_server"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_clone_from_server()">MainWP_Clone_Page::render_clone_from_server()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_request_clone_funct"><abbr title="\MainWP\Child\MainWP_Clone::request_clone_funct()">MainWP_Clone::request_clone_funct()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_create_clone_backup"><abbr title="\MainWP\Child\MainWP_Clone::create_clone_backup()">MainWP_Clone::create_clone_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-Child-MainWP-Clone.html#method_clone_backup_download"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_download()">MainWP_Clone::clone_backup_download()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_download_poll"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_download_poll()">MainWP_Clone::clone_backup_download_poll()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_get_file"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_get_file()">MainWP_Clone::clone_backup_get_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-Child-MainWP-Utility.html#method_upload_file_backup"><abbr title="\MainWP\Child\MainWP_Utility::upload_file_backup()">MainWP_Utility::upload_file_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-Child-MainWP-Utility.html#method_upload_file"><abbr title="\MainWP\Child\MainWP_Utility::upload_file()">MainWP_Utility::upload_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-Child-MainWP-Utility.html#method_validate_mainwp_dir"><abbr title="\MainWP\Child\MainWP_Utility::validate_mainwp_dir()">MainWP_Utility::validate_mainwp_dir()</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>Return directory and directory URL.</p>
</section>
</section>
</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">489</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.489" class="phpdocumentor-element-found-in__source" data-line="489" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">$url_to_clean</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">$show_http</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>Convert noraml URL to nice 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_to_clean</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the URL that needs to be cleaned.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$show_http</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>True to include HTTP|HTTPS in URL.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Clone-Page.html#method_render_form"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_form()">MainWP_Clone_Page::render_form()</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 Cleaned (nice) URL.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_site_unique_id">
get_site_unique_id()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_site_unique_id" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">751</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.751" class="phpdocumentor-element-found-in__source" data-line="751" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_site_unique_id()</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_unique_id</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 unique id.</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>$uniqueId unique id.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_timestamp">
get_timestamp()
<a href="classes/MainWP-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">677</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.677" class="phpdocumentor-element-found-in__source" data-line="677" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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 the timestamp and include 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">string</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the timestamp value.</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>$timestamp The timestamp including the GMT offset.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_wp_filesystem">
get_wp_filesystem()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_filesystem" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">341</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.341" class="phpdocumentor-element-found-in__source" data-line="341" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_wp_filesystem()</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_wp_filesystem</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>Get the WordPress filesystem.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_filesystem#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-Child-MainWP-Backup.html#method_backup_checkpid"><abbr title="\MainWP\Child\MainWP_Backup::backup_checkpid()">MainWP_Backup::backup_checkpid()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get the WordPress filesystem.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>Get the WordPress filesystem.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::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-Child-MainWP-Child-Server-Information-Base.html#method_check_mainwp_directory"><abbr title="\MainWP\Child\MainWP_Child_Server_Information_Base::check_mainwp_directory()">MainWP_Child_Server_Information_Base::check_mainwp_directory()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_plugin_theme()">MainWP_Child_Updates::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-Child-MainWP-Child-Updates.html#method_upgrade_wp"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_wp()">MainWP_Child_Updates::upgrade_wp()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone-Install.html#method_extract_wp_zip_backup"><abbr title="\MainWP\Child\MainWP_Clone_Install::extract_wp_zip_backup()">MainWP_Clone_Install::extract_wp_zip_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-Child-MainWP-Clone-Page.html#method_render"><abbr title="\MainWP\Child\MainWP_Clone_Page::render()">MainWP_Clone_Page::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-Child-MainWP-Clone-Page.html#method_render_normal_restore"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_normal_restore()">MainWP_Clone_Page::render_normal_restore()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_prevent_listing"><abbr title="\MainWP\Child\MainWP_Security::prevent_listing()">MainWP_Security::prevent_listing()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Utility.html#method_upload_image"><abbr title="\MainWP\Child\MainWP_Utility::upload_image()">MainWP_Utility::upload_image()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Utility.html#method_validate_mainwp_dir"><abbr title="\MainWP\Child\MainWP_Utility::validate_mainwp_dir()">MainWP_Utility::validate_mainwp_dir()</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>$init WordPress filesystem base.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_wp_host">
get_wp_host()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_host" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">946</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.946" class="phpdocumentor-element-found-in__source" data-line="946" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_wp_host()</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_wp_host</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 host if hosted on the FLYWHEEL or Pressable host.</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>flywheel|pressable If the child site is hosted on FLYWHEEL or Pressable host.</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">596</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.596" class="phpdocumentor-element-found-in__source" data-line="596" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">int&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 filesize to more user-friendly 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">$bytes</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the value in bytes to convert.</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>Contains the number of decimal places to round.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_human_filesize#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-Child-MainWP-Clone-Page.html#method_render"><abbr title="\MainWP\Child\MainWP_Clone_Page::render()">MainWP_Clone_Page::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-Child-MainWP-Clone-Page.html#method_render_normal_restore"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_normal_restore()">MainWP_Clone_Page::render_normal_restore()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone-Page.html#method_render_java_script"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_java_script()">MainWP_Clone_Page::render_java_script()</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 converted to more user-friendly format.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_in_excludes">
in_excludes()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_in_excludes" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">770</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.770" class="phpdocumentor-element-found-in__source" data-line="770" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method in_excludes()</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">in_excludes</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">$excludes</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">$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>Check if the value is in the excludes list.</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">$excludes</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 containing the list of excludes.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Value to check.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_in_excludes#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-Child-MainWP-Backup.html#method_create_zip_full_backup"><abbr title="\MainWP\Child\MainWP_Backup::create_zip_full_backup()">MainWP_Backup::create_zip_full_backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the value is in the excludes list.</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-Child-MainWP-Backup.html#method_copy_dir"><abbr title="\MainWP\Child\MainWP_Backup::copy_dir()">MainWP_Backup::copy_dir()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the value is in the excludes list.</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-Child-MainWP-Backup.html#method_zip_add_dir"><abbr title="\MainWP\Child\MainWP_Backup::zip_add_dir()">MainWP_Backup::zip_add_dir()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the value is in the excludes list.</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-Child-Tar-Archiver.html#method_create_full_backup"><abbr title="\MainWP\Child\Tar_Archiver::create_full_backup()">Tar_Archiver::create_full_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-Child-Tar-Archiver.html#method_add_dir"><abbr title="\MainWP\Child\Tar_Archiver::add_dir()">Tar_Archiver::add_dir()</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 If in excluded list, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_instance">
instance()
<a href="classes/MainWP-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.44" class="phpdocumentor-element-found-in__source" data-line="44" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Create a public static instance.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">mixed</span>
&mdash;
<section class="phpdocumentor-description"><p>Class instance.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_admin">
is_admin()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_admin" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">829</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.829" class="phpdocumentor-element-found-in__source" data-line="829" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_admin()</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_admin</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">object|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$user</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</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>Check if the user is administrator.</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">$user</span>
: <span class="phpdocumentor-signature__argument__return-type">object|null</span>
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>user check.</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 If the user is administrator (Level 10), return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_dashboard_request">
is_dashboard_request()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_dashboard_request" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1002</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1002" class="phpdocumentor-element-found-in__source" data-line="1002" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_dashboard_request()</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_dashboard_request</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$and_func</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">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>If it is dashboard request.</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">$and_func</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 true, check 'function' params existed.</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 If is dashboard request.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_dir_empty">
is_dir_empty()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_dir_empty" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">612</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.612" class="phpdocumentor-element-found-in__source" data-line="612" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_dir_empty()</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_dir_empty</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dir</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 a directory is empty.</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">$dir</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the directory location path.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_dir_empty#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-Child-MainWP-Clone-Install.html#method_clean"><abbr title="\MainWP\Child\MainWP_Clone_Install::clean()">MainWP_Clone_Install::clean()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_create_clone_backup"><abbr title="\MainWP\Child\MainWP_Clone::create_clone_backup()">MainWP_Clone::create_clone_backup()</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 Return true if the directory is empty, false if not.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_flywheel_host">
is_flywheel_host()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_flywheel_host" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">958</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.958" class="phpdocumentor-element-found-in__source" data-line="958" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_flywheel_host()</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_flywheel_host</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 the child site is hosted on the FLYWHEEL server.</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 If the child site is hosted on the FLYWHEEL, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_pressable_host">
is_pressable_host()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_pressable_host" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">969</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.969" class="phpdocumentor-element-found-in__source" data-line="969" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_pressable_host()</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_pressable_host</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 the child site is hosted on the Pressable host.</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 If the child site is hosted on the Pressable host, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_ssl_enabled">
is_ssl_enabled()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_ssl_enabled" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">887</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.887" class="phpdocumentor-element-found-in__source" data-line="887" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_ssl_enabled()</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_ssl_enabled</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 the OpenSSL PHP extension is enabled.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_ssl_enabled#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-Child-MainWP-Connect.html#method_register_site"><abbr title="\MainWP\Child\MainWP_Connect::register_site()">MainWP_Connect::register_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 If the OpenSSL PHP extension is enabled, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_updates_screen">
is_updates_screen()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_updates_screen" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">901</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.901" class="phpdocumentor-element-found-in__source" data-line="901" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_updates_screen()</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_updates_screen</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 the current screen is the Updates screen.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_updates_screen#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-Child-MainWP-Child-Back-Up-Buddy.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_Buddy::remove_update_nag()">MainWP_Child_Back_Up_Buddy::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Back-Up-WordPress.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_WordPress::remove_update_nag()">MainWP_Child_Back_Up_WordPress::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Branding.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Branding::remove_update_nag()">MainWP_Child_Branding::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Jetpack-Protect.html#method_hook_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Jetpack_Protect::hook_remove_update_nag()">MainWP_Child_Jetpack_Protect::hook_remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Jetpack-Scan.html#method_hook_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Jetpack_Scan::hook_remove_update_nag()">MainWP_Child_Jetpack_Scan::hook_remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Staging.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Staging::remove_update_nag()">MainWP_Child_Staging::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Timecapsule.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Timecapsule::remove_update_nag()">MainWP_Child_Timecapsule::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updraft-Plus-Backups.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::remove_update_nag()">MainWP_Child_Updraft_Plus_Backups::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-WP-Rocket.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Child_WP_Rocket::remove_update_nag()">MainWP_Child_WP_Rocket::remove_update_nag()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Client-Report.html#method_remove_update_nag"><abbr title="\MainWP\Child\MainWP_Client_Report::remove_update_nag()">MainWP_Client_Report::remove_update_nag()</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 If the current screen is updates, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_wp_engine">
is_wp_engine()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">921</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.921" class="phpdocumentor-element-found-in__source" data-line="921" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_wp_engine()</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_wp_engine</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 the child site is hosted on the WP Engine server.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine#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-Child-MainWP-Child-Stats.html#method_get_site_stats_no_auth"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats_no_auth()">MainWP_Child_Stats::get_site_stats_no_auth()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_stats_get_info"><abbr title="\MainWP\Child\MainWP_Child_Stats::stats_get_info()">MainWP_Child_Stats::stats_get_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>true|false If the child site is hosted on the WP Engine, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_wp_engine_php8">
is_wp_engine_php8()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine_php8" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">932</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.932" class="phpdocumentor-element-found-in__source" data-line="932" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_wp_engine_php8()</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_wp_engine_php8</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 the child site is hosted on the WP Engine server and PHP8.</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 If the child site is hosted on the WP Engine and PHP8, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_is_writable">
is_writable()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_is_writable" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">236</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.236" class="phpdocumentor-element-found-in__source" data-line="236" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_writable()</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_writable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dir</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">$dir</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>dir path.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_log_debug">
log_debug()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_log_debug" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1200</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1200" class="phpdocumentor-element-found-in__source" data-line="1200" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method log_debug()</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">log_debug</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$msg</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>Log error message to error log.</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">$msg</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the error message.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_log_debug#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-Child-MainWP-Child-Posts.html#method_update_found_images"><abbr title="\MainWP\Child\MainWP_Child_Posts::update_found_images()">MainWP_Child_Posts::update_found_images()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_stats_others_data"><abbr title="\MainWP\Child\MainWP_Child_Stats::stats_others_data()">MainWP_Child_Stats::stats_others_data()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Client-Report-Base.html#method_get_section_loop_token_values"><abbr title="\MainWP\Child\MainWP_Client_Report_Base::get_section_loop_token_values()">MainWP_Client_Report_Base::get_section_loop_token_values()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_maybe_set_doing_cron">
maybe_set_doing_cron()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_maybe_set_doing_cron" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">980</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.980" class="phpdocumentor-element-found-in__source" data-line="980" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method maybe_set_doing_cron()</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">maybe_set_doing_cron</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>May be define doing cron.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_mkdir">
mkdir()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_mkdir" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">207</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.207" class="phpdocumentor-element-found-in__source" data-line="207" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method mkdir()</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">mkdir</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</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">$mode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">FS_CHMOD_DIR</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">$file</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">$mode</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
= <span class="phpdocumentor-signature__argument__default-value">FS_CHMOD_DIR</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>File mode.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_move">
move()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_move" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">222</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.222" class="phpdocumentor-element-found-in__source" data-line="222" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method move()</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">move</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$source</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">$desc</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">$source</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>File source.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$desc</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>File desc.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_rand_str_key">
rand_str_key()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_rand_str_key" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">547</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.547" class="phpdocumentor-element-found-in__source" data-line="547" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method rand_str_key()</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">rand_str_key</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>Generates a random string to be used when generating the consumer key and secret.</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>Returns.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_rand_string">
rand_string()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_rand_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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">533</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.533" class="phpdocumentor-element-found-in__source" data-line="533" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method rand_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">rand_string</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$length</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>Generate random 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">$length</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the string lenghts.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_rand_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-Child-MainWP-Clone-Page.html#method_render_form"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_form()">MainWP_Clone_Page::render_form()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Connect.html#method_check_other_auth"><abbr title="\MainWP\Child\MainWP_Connect::check_other_auth()">MainWP_Connect::check_other_auth()</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>$str Generated random string.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_reject_unsafe_urls">
reject_unsafe_urls()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_reject_unsafe_urls" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">429</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.429" class="phpdocumentor-element-found-in__source" data-line="429" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method reject_unsafe_urls()</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">reject_unsafe_urls</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">$r</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>Reject unsafe URLs in HTTP Basic Authentication handler.</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">$r</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 containing the request 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>
&mdash;
<section class="phpdocumentor-description"><p>$r Updated array containing the request data.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_return_bytes">
return_bytes()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_return_bytes" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">565</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.565" class="phpdocumentor-element-found-in__source" data-line="565" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method return_bytes()</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">return_bytes</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$val</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 value to bytes.</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">$val</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the value to convert to bytes.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_return_bytes#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-Child-MainWP-Clone-Page.html#method_render"><abbr title="\MainWP\Child\MainWP_Clone_Page::render()">MainWP_Clone_Page::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-Child-MainWP-Clone-Page.html#method_render_normal_restore"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_normal_restore()">MainWP_Clone_Page::render_normal_restore()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone-Page.html#method_render_java_script"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_java_script()">MainWP_Clone_Page::render_java_script()</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>$val Value converted to bytes.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_rmdir">
rmdir()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_rmdir" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">250</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.250" class="phpdocumentor-element-found-in__source" data-line="250" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method is_writable()</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">rmdir</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dir</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">$dir</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>dir path.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_sanitize_filename">
sanitize_filename()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_sanitize_filename" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">794</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.794" class="phpdocumentor-element-found-in__source" data-line="794" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method sanitize_filename()</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_filename</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">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Sanitize file name.</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 the file name to be sanitized.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_sanitize_filename#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-Child-MainWP-Backup.html#method_create_backup_db"><abbr title="\MainWP\Child\MainWP_Backup::create_backup_db()">MainWP_Backup::create_backup_db()</abbr></a></span>
<section class="phpdocumentor-description"><p>Sanitize filename.</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>$filename Sanitized filename.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_search">
search()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_search" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">315</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.315" class="phpdocumentor-element-found-in__source" data-line="315" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method search()</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">search</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array&lt;string|int, mixed&gt;|object&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">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$key</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>Nested search field value in an array or object.</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">array&lt;string|int, mixed&gt;|object</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Array or object to search.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$key</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Field value to search for in the $array.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_search#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-Child-MainWP-Child-Updates.html#method_upgrade_get_theme_updates"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_get_theme_updates()">MainWP_Child_Updates::upgrade_get_theme_updates()</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>If found return field value, if not, return NULL.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_send">
send()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_send" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">93</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method send()</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">send</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</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">&#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>
<section class="phpdocumentor-description"><p>Send response data to be sent to the MainWP Dashboard.</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">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains information to be send.</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">&#039;&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>action send message.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_set_limit">
set_limit()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_set_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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">1214</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.1214" class="phpdocumentor-element-found-in__source" data-line="1214" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method set_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">set_limit</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$timeout</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">$mem</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>Set PHP Memory Limit and PHP Max Execution time values.</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">$timeout</span>
: <span class="phpdocumentor-signature__argument__return-type">int</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the timeout value in seconds.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$mem</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>Contains the memory limit value in MB.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_set_limit#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-Child-MainWP-Backup.html#method_create_full_backup"><abbr title="\MainWP\Child\MainWP_Backup::create_full_backup()">MainWP_Backup::create_full_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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>Set PHP Memory Limit and PHP Max Execution time values.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::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-Child-MainWP-Backup.html#method_zip_file"><abbr title="\MainWP\Child\MainWP_Backup::zip_file()">MainWP_Backup::zip_file()</abbr></a></span>
<section class="phpdocumentor-description"><p>Set PHP memory limit.</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-Child-MainWP-Backup.html#method_create_backup_db"><abbr title="\MainWP\Child\MainWP_Backup::create_backup_db()">MainWP_Backup::create_backup_db()</abbr></a></span>
<section class="phpdocumentor-description"><p>Set PHP memory limit.</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-Child-MainWP-Child-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_starts_with">
starts_with()
<a href="classes/MainWP-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">457</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.457" class="phpdocumentor-element-found-in__source" data-line="457" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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">string&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>Check if the String 1 starts with the String 2.</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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the String 1 for the comparison.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$needle</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the String 2 for the comparison.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Backup.html#method_create_zip_full_backup"><abbr title="\MainWP\Child\MainWP_Backup::create_zip_full_backup()">MainWP_Backup::create_zip_full_backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the String 1 starts with the String 2.</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-Child-MainWP-Backup.html#method_include_core_files"><abbr title="\MainWP\Child\MainWP_Backup::include_core_files()">MainWP_Backup::include_core_files()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the String 1 starts with the String 2.</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-Child-MainWP-Backup.html#method_copy_dir"><abbr title="\MainWP\Child\MainWP_Backup::copy_dir()">MainWP_Backup::copy_dir()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the String 1 starts with the String 2.</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-Child-MainWP-Backup.html#method_create_zip_pcl_full_backup2"><abbr title="\MainWP\Child\MainWP_Backup::create_zip_pcl_full_backup2()">MainWP_Backup::create_zip_pcl_full_backup2()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the String 1 starts with the String 2.</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-Child-MainWP-Clone-Page.html#method_print_scripts"><abbr title="\MainWP\Child\MainWP_Clone_Page::print_scripts()">MainWP_Clone_Page::print_scripts()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_extract"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_extract()">MainWP_Clone::clone_backup_extract()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-Tar-Archiver.html#method_create_full_backup"><abbr title="\MainWP\Child\Tar_Archiver::create_full_backup()">Tar_Archiver::create_full_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-Child-Tar-Archiver.html#method_include_core_files"><abbr title="\MainWP\Child\Tar_Archiver::include_core_files()">Tar_Archiver::include_core_files()</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 Return true if the comparison is positive, false if not.</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-Child-MainWP-Helper.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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">736</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.736" class="phpdocumentor-element-found-in__source" data-line="736" data-modal="source-view" data-src="files/class/class-mainwp-helper.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">string&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">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$option_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">$autoload</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;no&#039;</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>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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the 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">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains the option value.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$autoload</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
= <span class="phpdocumentor-signature__argument__default-value">&#039;no&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Autoload? Yes or no.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Backup.html#method_backup_db"><abbr title="\MainWP\Child\MainWP_Backup::backup_db()">MainWP_Backup::backup_db()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update database option by option name.</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-Child-MainWP-Child-Back-Up-Buddy.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_Buddy::set_showhide()">MainWP_Child_Back_Up_Buddy::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Back-Up-WordPress.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_WordPress::set_showhide()">MainWP_Child_Back_Up_WordPress::set_showhide()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update database option by option name.</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-Child-MainWP-Child-Branding.html#method_child_deactivation"><abbr title="\MainWP\Child\MainWP_Child_Branding::child_deactivation()">MainWP_Child_Branding::child_deactivation()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Branding.html#method_update_branding"><abbr title="\MainWP\Child\MainWP_Child_Branding::update_branding()">MainWP_Child_Branding::update_branding()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Branding.html#method_save_branding_options"><abbr title="\MainWP\Child\MainWP_Child_Branding::save_branding_options()">MainWP_Child_Branding::save_branding_options()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update database option.</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-Child-MainWP-Child-Callable.html#method_update_child_values"><abbr title="\MainWP\Child\MainWP_Child_Callable::update_child_values()">MainWP_Child_Callable::update_child_values()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-IThemes-Security.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_IThemes_Security::set_showhide()">MainWP_Child_IThemes_Security::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Jetpack-Protect.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Jetpack_Protect::set_showhide()">MainWP_Child_Jetpack_Protect::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Jetpack-Scan.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Jetpack_Scan::set_showhide()">MainWP_Child_Jetpack_Scan::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Links-Checker.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Links_Checker::action()">MainWP_Child_Links_Checker::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Links-Checker.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Links_Checker::set_showhide()">MainWP_Child_Links_Checker::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Maintenance.html#method_maintenance_action"><abbr title="\MainWP\Child\MainWP_Child_Maintenance::maintenance_action()">MainWP_Child_Maintenance::maintenance_action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update option by name.</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-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update option by name.</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-Child-MainWP-Child-Misc.html#method_do_security_un_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_un_fix()">MainWP_Child_Misc::do_security_un_fix()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update option by name.</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-Child-MainWP-Child-Misc.html#method_snippet_save_snippet"><abbr title="\MainWP\Child\MainWP_Child_Misc::snippet_save_snippet()">MainWP_Child_Misc::snippet_save_snippet()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update option by name.</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-Child-MainWP-Child-Misc.html#method_snippet_delete_snippet"><abbr title="\MainWP\Child\MainWP_Child_Misc::snippet_delete_snippet()">MainWP_Child_Misc::snippet_delete_snippet()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update option by name.</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-Child-MainWP-Child-Pagespeed.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Pagespeed::set_showhide()">MainWP_Child_Pagespeed::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Plugins-Check.html#method_may_outdate_number_change"><abbr title="\MainWP\Child\MainWP_Child_Plugins_Check::may_outdate_number_change()">MainWP_Child_Plugins_Check::may_outdate_number_change()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Staging.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Staging::action()">MainWP_Child_Staging::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Staging.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Staging::set_showhide()">MainWP_Child_Staging::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_stats_others_data"><abbr title="\MainWP\Child\MainWP_Child_Stats::stats_others_data()">MainWP_Child_Stats::stats_others_data()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_stats_get_info"><abbr title="\MainWP\Child\MainWP_Child_Stats::stats_get_info()">MainWP_Child_Stats::stats_get_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-Child-MainWP-Child-Stats.html#method_check_premium_updates"><abbr title="\MainWP\Child\MainWP_Child_Stats::check_premium_updates()">MainWP_Child_Stats::check_premium_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-Child-MainWP-Child-Stats.html#method_update_external_settings"><abbr title="\MainWP\Child\MainWP_Child_Stats::update_external_settings()">MainWP_Child_Stats::update_external_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-Child-MainWP-Child-Timecapsule.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Timecapsule::set_showhide()">MainWP_Child_Timecapsule::set_showhide()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update database option by option name.</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-Child-MainWP-Child-Timecapsule.html#method_sync_others_data"><abbr title="\MainWP\Child\MainWP_Child_Timecapsule::sync_others_data()">MainWP_Child_Timecapsule::sync_others_data()</abbr></a></span>
<section class="phpdocumentor-description"><p>Update database option by option name.</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-Child-MainWP-Child-Updraft-Plus-Backups.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::set_showhide()">MainWP_Child_Updraft_Plus_Backups::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Wordfence.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_Wordfence::set_showhide()">MainWP_Child_Wordfence::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-WP-Rocket.html#method_set_showhide"><abbr title="\MainWP\Child\MainWP_Child_WP_Rocket::set_showhide()">MainWP_Child_WP_Rocket::set_showhide()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child.html#method___construct"><abbr title="\MainWP\Child\MainWP_Child::__construct()">MainWP_Child::__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-Child-MainWP-Child.html#method_update"><abbr title="\MainWP\Child\MainWP_Child::update()">MainWP_Child::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-Child-MainWP-Child.html#method_activation"><abbr title="\MainWP\Child\MainWP_Child::activation()">MainWP_Child::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-Child-MainWP-Clone-Install.html#method_read_configuration_file"><abbr title="\MainWP\Child\MainWP_Clone_Install::read_configuration_file()">MainWP_Clone_Install::read_configuration_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-Child-MainWP-Clone-Page.html#method_render_clone_from_server"><abbr title="\MainWP\Child\MainWP_Clone_Page::render_clone_from_server()">MainWP_Clone_Page::render_clone_from_server()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_secure_request"><abbr title="\MainWP\Child\MainWP_Clone::secure_request()">MainWP_Clone::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-Child-MainWP-Clone.html#method_clone_backup_create"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_create()">MainWP_Clone::clone_backup_create()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_clone_backup_extract"><abbr title="\MainWP\Child\MainWP_Clone::clone_backup_extract()">MainWP_Clone::clone_backup_extract()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Connect.html#method_register_site"><abbr title="\MainWP\Child\MainWP_Connect::register_site()">MainWP_Connect::register_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-Child-MainWP-Connect.html#method_check_other_auth"><abbr title="\MainWP\Child\MainWP_Connect::check_other_auth()">MainWP_Connect::check_other_auth()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Pages.html#method_render_settings"><abbr title="\MainWP\Child\MainWP_Pages::render_settings()">MainWP_Pages::render_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-Child-MainWP-Security.html#method_get_security_option"><abbr title="\MainWP\Child\MainWP_Security::get_security_option()">MainWP_Security::get_security_option()</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>$success true|false Option updated.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_write">
write()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_write" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">58</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.58" class="phpdocumentor-element-found-in__source" data-line="58" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method write()</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">write</span><span>(</span><span class="phpdocumentor-signature__argument"><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>Write response data to be sent to the MainWP Dashboard.</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">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains information to be written.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Helper.html#method_write#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-Child-MainWP-Backup.html#method_backup_poll"><abbr title="\MainWP\Child\MainWP_Backup::backup_poll()">MainWP_Backup::backup_poll()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Backup.html#method_backup_checkpid"><abbr title="\MainWP\Child\MainWP_Backup::backup_checkpid()">MainWP_Backup::backup_checkpid()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::backup()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Backup.html#method_backup"><abbr title="\MainWP\Child\MainWP_Backup::backup()">MainWP_Backup::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-Child-MainWP-Child-Back-Up-Buddy.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_Buddy::action()">MainWP_Child_Back_Up_Buddy::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Back-Up-WordPress.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_WordPress::action()">MainWP_Child_Back_Up_WordPress::action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Back-Up-WordPress.html#method_check_schedule"><abbr title="\MainWP\Child\MainWP_Child_Back_Up_WordPress::check_schedule()">MainWP_Child_Back_Up_WordPress::check_schedule()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Back-WP-Up.html#method_mainwp_backwpup_handle_fatal_error"><abbr title="\MainWP\Child\MainWP_Child_Back_WP_Up::mainwp_backwpup_handle_fatal_error()">MainWP_Child_Back_WP_Up::mainwp_backwpup_handle_fatal_error()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Back-WP-Up.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Back_WP_Up::action()">MainWP_Child_Back_WP_Up::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Branding.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Branding::action()">MainWP_Child_Branding::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Bulk-Settings-Manager.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Bulk_Settings_Manager::action()">MainWP_Child_Bulk_Settings_Manager::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_cloneinfo"><abbr title="\MainWP\Child\MainWP_Child_Callable::cloneinfo()">MainWP_Child_Callable::cloneinfo()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_extra_execution"><abbr title="\MainWP\Child\MainWP_Child_Callable::extra_execution()">MainWP_Child_Callable::extra_execution()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_backup_wp"><abbr title="\MainWP\Child\MainWP_Child_Callable::backup_wp()">MainWP_Child_Callable::backup_wp()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_delete_backup"><abbr title="\MainWP\Child\MainWP_Child_Callable::delete_backup()">MainWP_Child_Callable::delete_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-Child-MainWP-Child-Callable.html#method_update_child_values"><abbr title="\MainWP\Child\MainWP_Child_Callable::update_child_values()">MainWP_Child_Callable::update_child_values()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_disconnect"><abbr title="\MainWP\Child\MainWP_Child_Callable::disconnect()">MainWP_Child_Callable::disconnect()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Callable.html#method_deactivate"><abbr title="\MainWP\Child\MainWP_Child_Callable::deactivate()">MainWP_Child_Callable::deactivate()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Comments.html#method_comment_action"><abbr title="\MainWP\Child\MainWP_Child_Comments::comment_action()">MainWP_Child_Comments::comment_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Comments.html#method_comment_bulk_action"><abbr title="\MainWP\Child\MainWP_Child_Comments::comment_bulk_action()">MainWP_Child_Comments::comment_bulk_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Comments.html#method_get_all_comments"><abbr title="\MainWP\Child\MainWP_Child_Comments::get_all_comments()">MainWP_Child_Comments::get_all_comments()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-DB-Updater.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_DB_Updater::action()">MainWP_Child_DB_Updater::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Install.html#method_plugin_action"><abbr title="\MainWP\Child\MainWP_Child_Install::plugin_action()">MainWP_Child_Install::plugin_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Install.html#method_theme_action"><abbr title="\MainWP\Child\MainWP_Child_Install::theme_action()">MainWP_Child_Install::theme_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Install.html#method_install_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Install::install_plugin_theme()">MainWP_Child_Install::install_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-Child-MainWP-Child-IThemes-Security.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_IThemes_Security::action()">MainWP_Child_IThemes_Security::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Links-Checker.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Links_Checker::action()">MainWP_Child_Links_Checker::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Maintenance.html#method_maintenance_site"><abbr title="\MainWP\Child\MainWP_Child_Maintenance::maintenance_site()">MainWP_Child_Maintenance::maintenance_site()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Maintenance.html#method_maintenance_action"><abbr title="\MainWP\Child\MainWP_Child_Maintenance::maintenance_action()">MainWP_Child_Maintenance::maintenance_action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Misc.html#method_get_site_icon"><abbr title="\MainWP\Child\MainWP_Child_Misc::get_site_icon()">MainWP_Child_Misc::get_site_icon()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Misc.html#method_get_security_stats"><abbr title="\MainWP\Child\MainWP_Child_Misc::get_security_stats()">MainWP_Child_Misc::get_security_stats()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Misc.html#method_do_security_un_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_un_fix()">MainWP_Child_Misc::do_security_un_fix()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Misc.html#method_settings_tools"><abbr title="\MainWP\Child\MainWP_Child_Misc::settings_tools()">MainWP_Child_Misc::settings_tools()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Misc.html#method_uploader_action"><abbr title="\MainWP\Child\MainWP_Child_Misc::uploader_action()">MainWP_Child_Misc::uploader_action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Misc.html#method_code_snippet"><abbr title="\MainWP\Child\MainWP_Child_Misc::code_snippet()">MainWP_Child_Misc::code_snippet()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Pagespeed.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Pagespeed::action()">MainWP_Child_Pagespeed::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Posts.html#method_get_all_posts_by_type"><abbr title="\MainWP\Child\MainWP_Child_Posts::get_all_posts_by_type()">MainWP_Child_Posts::get_all_posts_by_type()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Posts.html#method_new_post"><abbr title="\MainWP\Child\MainWP_Child_Posts::new_post()">MainWP_Child_Posts::new_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-Child-MainWP-Child-Posts.html#method_post_action"><abbr title="\MainWP\Child\MainWP_Child_Posts::post_action()">MainWP_Child_Posts::post_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Staging.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Staging::action()">MainWP_Child_Staging::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_site_stats_no_auth"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats_no_auth()">MainWP_Child_Stats::get_site_stats_no_auth()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_all_themes"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_all_themes()">MainWP_Child_Stats::get_all_themes()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_all_plugins"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_all_plugins()">MainWP_Child_Stats::get_all_plugins()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Timecapsule.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Timecapsule::action()">MainWP_Child_Timecapsule::action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-Updates.html#method_upgrade_plugin_theme"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_plugin_theme()">MainWP_Child_Updates::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-Child-MainWP-Child-Updates.html#method_upgrade_wp"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_wp()">MainWP_Child_Updates::upgrade_wp()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Updates.html#method_upgrade_translation"><abbr title="\MainWP\Child\MainWP_Child_Updates::upgrade_translation()">MainWP_Child_Updates::upgrade_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-Child-MainWP-Child-Updraft-Plus-Backups.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Updraft_Plus_Backups::action()">MainWP_Child_Updraft_Plus_Backups::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Users.html#method_user_action"><abbr title="\MainWP\Child\MainWP_Child_Users::user_action()">MainWP_Child_Users::user_action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Users.html#method_get_all_users"><abbr title="\MainWP\Child\MainWP_Child_Users::get_all_users()">MainWP_Child_Users::get_all_users()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Users.html#method_search_users"><abbr title="\MainWP\Child\MainWP_Child_Users::search_users()">MainWP_Child_Users::search_users()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Users.html#method_new_admin_password"><abbr title="\MainWP\Child\MainWP_Child_Users::new_admin_password()">MainWP_Child_Users::new_admin_password()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Users.html#method_new_user"><abbr title="\MainWP\Child\MainWP_Child_Users::new_user()">MainWP_Child_Users::new_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-Child-MainWP-Child-Vulnerability-Checker.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Vulnerability_Checker::action()">MainWP_Child_Vulnerability_Checker::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-WooCommerce-Status.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_WooCommerce_Status::action()">MainWP_Child_WooCommerce_Status::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Wordfence.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_Wordfence::action()">MainWP_Child_Wordfence::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-WP-Rocket.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_WP_Rocket::action()">MainWP_Child_WP_Rocket::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-WP-Seopress.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_WP_Seopress::action()">MainWP_Child_WP_Seopress::action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-WP-Seopress.html#method_export_settings"><abbr title="\MainWP\Child\MainWP_Child_WP_Seopress::export_settings()">MainWP_Child_WP_Seopress::export_settings()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-Child-WPvivid-BackupRestore.html#method_action"><abbr title="\MainWP\Child\MainWP_Child_WPvivid_BackupRestore::action()">MainWP_Child_WPvivid_BackupRestore::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Client-Report.html#method_action"><abbr title="\MainWP\Child\MainWP_Client_Report::action()">MainWP_Client_Report::action()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_request_clone_funct"><abbr title="\MainWP\Child\MainWP_Clone::request_clone_funct()">MainWP_Clone::request_clone_funct()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Clone.html#method_create_clone_backup"><abbr title="\MainWP\Child\MainWP_Clone::create_clone_backup()">MainWP_Clone::create_clone_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-Child-MainWP-WordPress-SEO.html#method_action"><abbr title="\MainWP\Child\MainWP_WordPress_SEO::action()">MainWP_WordPress_SEO::action()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</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-Child-MainWP-WordPress-SEO.html#method_import_settings"><abbr title="\MainWP\Child\MainWP_WordPress_SEO::import_settings()">MainWP_WordPress_SEO::import_settings()</abbr></a></span>
<section class="phpdocumentor-description"><p>Write response data to be sent to the MainWP Dashboard.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_write_feedback">
write_feedback()
<a href="classes/MainWP-Child-MainWP-Helper.html#method_write_feedback" 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-helper.php"><a href="files/class-class-mainwp-helper.html"><abbr title="class/class-mainwp-helper.php">class-mainwp-helper.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">71</span>
<a href="classes/MainWP-Child-MainWP-Helper.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view" data-src="files/class/class-mainwp-helper.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method write_feedback()</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">write_feedback</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</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">&#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>
<section class="phpdocumentor-description"><p>Send response feedback data to be sent to the MainWP Dashboard.</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">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Contains information to be send.</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">&#039;&#039;</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>action send message.</p>
</section>
</dd>
</dl>
</article>
</section>
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-helper.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-Child-MainWP-Helper.html#toc-properties">Properties</a></li>
<li><a href="classes/MainWP-Child-MainWP-Helper.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-Child-MainWP-Helper.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-Child-MainWP-Helper.html#method_check_classes_exists">check_classes_exists()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_check_dir">check_dir()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_check_files_exists">check_files_exists()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_check_functions">check_functions()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_check_methods">check_methods()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_check_properties">check_properties()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_check_wp_filesystem">check_wp_filesystem()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_ctype_digit">ctype_digit()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_current_user_has_role">current_user_has_role()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_delete_dir">delete_dir()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_end_session">end_session()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_ends_with">ends_with()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_error">error()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_file_put_contents">file_put_contents()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_format_date">format_date()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_format_time">format_time()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_format_timestamp">format_timestamp()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_fs_is_connected">fs_is_connected()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_funct_exists">funct_exists()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_class_name">get_class_name()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_mainwp_dir">get_mainwp_dir()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_nice_url">get_nice_url()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_site_unique_id">get_site_unique_id()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_timestamp">get_timestamp()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_filesystem">get_wp_filesystem()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_host">get_wp_host()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_human_filesize">human_filesize()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_in_excludes">in_excludes()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_instance">instance()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_admin">is_admin()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_dashboard_request">is_dashboard_request()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_dir_empty">is_dir_empty()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_flywheel_host">is_flywheel_host()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_pressable_host">is_pressable_host()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_ssl_enabled">is_ssl_enabled()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_updates_screen">is_updates_screen()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine">is_wp_engine()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_wp_engine_php8">is_wp_engine_php8()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_is_writable">is_writable()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_log_debug">log_debug()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_maybe_set_doing_cron">maybe_set_doing_cron()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_mkdir">mkdir()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_move">move()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_rand_str_key">rand_str_key()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_rand_string">rand_string()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_reject_unsafe_urls">reject_unsafe_urls()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_return_bytes">return_bytes()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_rmdir">rmdir()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_sanitize_filename">sanitize_filename()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_search">search()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_send">send()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_set_limit">set_limit()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_starts_with">starts_with()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_update_option">update_option()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_write">write()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Helper.html#method_write_feedback">write_feedback()</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-Child-MainWP-Helper.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>